theme | { light: ThemeInput; dark: ThemeInput } | ThemeInput | No | Ferriki syntax-highlighting theme name or light/dark theme pair. |
lineNumbers | boolean | No | Show line numbers in code blocks |
anchor | boolean | No | Enable anchor links for headings |
toc | { level?: [number, number] } | No | Table of contents configuration |
tableAttributes | boolean | No | |
headingAttributes | boolean | No | |
cjkEmphasis | boolean | No | |
imageAttributes | boolean | No | Parse {#id .class} directly after an image. Default: off. |
imageCaptions | boolean | No | Attach a separate : Caption line to a standalone image. Default: off. |
extendedAttributes | boolean | No | Enable shared key/value attributes on headings, links, images, tables, and figures. |
bracketedSpans | boolean | No | Enable [inline Markdown]{attributes} spans. |
blockquoteAttributions | boolean | No | Attach a separate : Author line after a block quote. Default: off. |
insertions | boolean | No | Enable ++inserted text++. Default: off, including the GFM profile. |
guillemetDigraphs | boolean | No | Preserve <<…>> as inline text and allow typography to map balanced pairs. Default: off. |
tables | boolean | No | Enable GFM pipe tables. Default: on. |
mergedTableCells | boolean | No | Enable MultiMarkdown-style table column spans. Default: off; requires tables. |
strikethrough | boolean | No | Enable GFM ~~strikethrough~~. Default: on. |
superscript | boolean | No | Enable ^superscript^. Default: off. |
subscript | boolean | No | Enable ~subscript~. Default: off. |
taskLists | boolean | No | Enable GFM task lists. Default: on. |
autolinkLiterals | boolean | No | Enable bare URL, www, and email autolinks. Default: off. |
footnotes | boolean | No | Enable [^label] footnotes. Default: off. |
highlight | boolean | No | Enable ==marked text==. Default: off. Independent of code highlighting. |
inlineFootnotes | boolean | No | Enable ^[inline notes]. Default: off; independent of footnotes. |
allowLinkRefs | boolean | No | Resolve link/image references and consume definitions. Default: on. |
headingOffset | number | No | Signed 32-bit integer heading shift; positive values move toward h6, clamped to h1–h6. Default: 0. |
headingIdPrefix | string | No | Prefix heading IDs and generated permalink fragments. Safe characters: ASCII letters, digits, _, and -. |
math | boolean | No | Enable $inline$ and $$display$$ math. Default: off. |
callouts | boolean | No | Enable GitHub-style blockquote callouts. Default: on. |
definitionLists | boolean | No | Enable PHP Markdown Extra definition lists. Default: off. |
lineComments | boolean | No | Omit physical-line-start // source comments. Default: off. |
typography | TypographyOptions | No | Apply explicit locale-aware typography after parsing. Default: off. |
passes | NativePassOptions[] | No | Run native transform passes in the given order. Cannot be combined with typography. |