Skip to content

Commit

Permalink
Add docs on footnote option
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 10, 2025
1 parent 030dd8d commit 173394d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export {default} from './lib/index.js'
* Configuration for `remark-gfm`.
*
* Currently supports `singleTilde` as a parse option and
* `tableCellPadding`, `tablePipeAlign`, and `stringLength` as
* a serialization option.
* `firstLineBlank`, `stringLength`, `tableCellPadding`, and `tablePipeAlign`
* as serialization options.
*/
export interface Options extends MicromarkOptions, MdastOptions {}
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ Configuration (TypeScript type).

###### Fields

* `firstLineBlank` (`boolean`, default: `false`)
— serialize with a blank line for the first line of footnote definitions
* `stringLength` (`((value: string) => number)`, default: `d => d.length`)
— detect the size of table cells, used when aligning cells
* `singleTilde` (`boolean`, default: `true`)
Expand Down

0 comments on commit 173394d

Please sign in to comment.