Repository navigation
mdastic now matches what a fresh npm i remark remark-gfm remark-mdx remark-stringify installs today.
stringifymatchesmdast-util-to-markdown2.2.3. Fewer escapes (intraword_stays as is), emphasis and strong pick*or_so every run parses back the same, tight lists keep blank lines where needed, and link text that looks like a definition gets an empty title.stringify(parse('snake_case and x86_64')) // 'snake_case and x86_64\n', was 'snake\\_case and x86\\_64\n'
- Custom
unsafepatterns supportbeforeNode,afterNodeandunicode. - GFM tables match
mdast-util-gfm-table2.0.1. Rows keep their own cell count instead of being padded. - GFM autolink literals match
mdast-util-gfm-autolink-literal2.1.0. Emails after punctuation like/link,mailto:andxmpp:addresses link with their scheme, and hosts that start with punctuation no longer link.parse('mailto:a@b.co', { syntax: [gfm()] }) // link 'mailto:a@b.co'
- Task list checks match
mdast-util-gfm-task-list-item2.0.1. Checks after definitions, empty checked items andbulletOrdered: ")"now serialize correctly. - Multi-line JSX attribute expressions are indented like
mdast-util-mdx-jsx3.2.1.