remark-renumber-references
Ƭ Options: Object
Options type for the remark-renumber-references plugin.
Name | Type | Description |
---|---|---|
preserveAlphanumericDefinitions? |
boolean |
If true , alphanumeric definition ids (i.e. any id that cannot be parsed into an integer) will be spared during the renumbering. If false , all definition ids will be deleted and recreated starting from [1] . Default ts true |
packages/remark-renumber-references/src/index.ts:16
▸ default(this
, ...parameters
): undefined
| void
| Transformer
<Root
, Root
>
A remark plugin that takes a Root node as input and returns the same node
with all reference-style link nodes and their definition nodes renumbered in
ascending order starting from [1]
.
Links are assigned a numeric reference id as they are encountered.
Name | Type |
---|---|
this |
Processor <undefined , undefined , undefined , undefined , undefined > |
...parameters |
[options: Options] | void [] |
undefined
| void
| Transformer
<Root
, Root
>
node_modules/unified/lib/index.d.ts:946