NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4388 most downloaded on npm
markdown processor powered by plugins part of the unified collective
Latest stable
15.0.1
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 39 of 43 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
49 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
* 54ee687c Fix typo Full Changelog: https://github.com/remarkjs/remark/compare/15.0.0...15.0.1
Full Changelog: https://github.com/remarkjs/remark/compare/15.0.0...15.0.1
98a25602 Change to require Node.js 16 migrate: update too
exports
migrate: don’t use private APIs@types/mdast, mdast-util-{from,to}-markdown, unified, etc
migrate: update too
remark-parse: only really changes Buffer -> Uint8Array, so use encodings supported by TextDecoder if you are passing binary data
remark-stringify: bulletOrderedOther is removed, you can remove bulletOrderedOther if you passed it, it’s now the default;
fences is now true by default, if you don’t want indented code, pass fences: false;
listItemIndent is now 'one' by default, you can remove listItemIndent: 'one' if you passed it, or explicitly set it to 'tab' if you want itremark-link-rewrite to list of plugins
by @rjanjic in https://github.com/remarkjs/remark/pull/1212remark-mentions to list of plugins
by @FinnRG in https://github.com/remarkjs/remark/pull/1193Full Changelog: https://github.com/remarkjs/remark/compare/14.0.3...15.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
c7e81713 Remove deprecated remark-jargon by @LunaticMuch in https://github.com/remarkjs/remark/pull/1059
tsconfigs for perf and strictnesstsconfig.json to use node16 module resolution
by @ChristianMurphy in https://github.com/remarkjs/remark/pull/1106ignore-scripts to .npmrc
by @ChristianMurphy in https://github.com/remarkjs/remark/pull/1103remark-ins to list of plugins
by @talatkuyuk in https://github.com/remarkjs/remark/pull/1129remark-flexible-markers to list of plugins
by @talatkuyuk in https://github.com/remarkjs/remark/pull/1126remark-flexible-paragraphs to list of plugins
by @talatkuyuk in https://github.com/remarkjs/remark/pull/1120remark-flexible-containers to list of plugins
by @talatkuyuk in https://github.com/remarkjs/remark/pull/1112remark-flexible-code-titles to list of plugins
by @talatkuyuk in https://github.com/remarkjs/remark/pull/1108remark-cloudinary-docusaurus to list of plugins
by @johnnyreilly in https://github.com/remarkjs/remark/pull/1090mdast-util-to-markdownremark-code-title to list of plugins
by @kevinzunigacuellar in https://github.com/remarkjs/remark/pull/1076remark-jargon
by @LunaticMuch in https://github.com/remarkjs/remark/pull/1059Full Changelog: https://github.com/remarkjs/remark/compare/14.0.2...14.0.3
87c50a58 Add improved docs by @wooorm in https://github.com/remarkjs/remark/pull/900
Full Changelog: https://github.com/remarkjs/remark/compare/14.0.1...14.0.2
9026568a Add missing types dependency
```js // From CommonJS var remark = require('remark')
Change:
// From CommonJS
var remark = require('remark')
// To ESM
import {remark} from 'remark'
// Plugins use default exports:
var remarkParse = require('remark-parse') // => import remarkParse from 'remark-parse'
var remarkStringify = require('remark-stringify') // => import remarkStringify from 'remark-stringify'
unified (10.0.0) (see: https://github.com/unifiedjs/unified/releases/tag/10.0.0)vfile (5.0.0) (see: https://github.com/vfile/vfile/releases/tag/5.0.0)
Importantly this renames vfile.contentsvfile.valuemdast-util-from-markdown (1.0.0) (see: https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/1.0.0)mdast-util-to-markdown (1.0.0) (see: https://github.com/syntax-tree/mdast-util-to-markdown/releases/tag/1.0.0)This is a giant change for remark. It replaces the 5+ year old internals with a new low-level parser: [micromark][micromark]. The old internals have s
This is a giant change for remark. It replaces the 5+ year old internals with a new low-level parser: micromark. The old internals have served billions of users well over the years, but markdown has changed over that time. micromark comes with 100% CommonMark (and GFM as an extension) compliance, and (WIP) docs on parsing rules for how to tokenize markdown with a state machine. micromark, and micromark in remark, is a good base for the future.
remark* packages you are using in package.jsonremark-gfmremark-parse now defers its work to micromark and mdast-util-from-markdown. micromark is a new, small, complete, and CommonMark compliant low-level markdown parser. from-markdown turns its tokens into the previously (and still) used syntax tree: mdast. Extensions to remark-parse work differently: they’re a two-part act. See for example micromark-extension-footnote and mdast-util-footnote.
commonmark is no longer an option — it’s the defaultgfm is no longer an option — moved to remark-gfmpedantic is no longer an option — this legacy and buggy flavor of markdown is no longer widely usedblocks is no longer an options — it’s no longer suggested to change the internal list of HTML “block” tag namesremark-stringify now defers its work to mdast-util-to-markdown. It’s a new and better serializer with powerful features to ensure serialized markdown represents the syntax tree (mdast), no matter what plugins do. Extensions to it work differently: see for example mdast-util-footnote.
optionscommonmark is no longer an option, it’s the defaultemphasis now defaults to *bullet now defaults to *gfm is no longer an option — moved to remark-gfmtableCellPadding — moved to remark-gfmtablePipeAlign — moved to remark-gfmstringLength — moved to remark-gfmpedantic is no longer an option — this legacy and buggy flavor of markdown is no longer widely usedentities is no longer an option — with CommonMark there is almost never a need to use character references, as character escapes are preferredquote — you can now prefer single quotes (') over double quotes (") in titlesAll of these are for CommonMark compatibility. They’re all fixes. Most of them are inconsequential to most folks.
[text][id] and images ![alt][id]) are no longer present as such in the syntax tree if they don’t have a corresponding definition ([id]: example.com). The reason for this is that CommonMark requires [text *emphasis start][undefined] emphasis end* to be emphasis.<!---->)<mailto:foobarbaz> are now correctly parsed, and the scheme is part of the tree© w/o the semicolon, are no longer recognizedindent field is no longer available on positionThanks to Salesforce, Gatsby, Vercel, and Netlify, and our other backers for sponsoring the work on micromark! To support our continued work, back us on OpenCollective!
See `GH-536`
See GH-536
See `GH-536`
See GH-536
963292f3 Change master in links
master in links2841e47 Update `remark-parse` (breaking, please see its release section)
remark-parse
(breaking, please see its release section)remark-stringify
(breaking, please see its release section)unified
(breaking, please see its release section)See `remark-parse@7.0.2` and `remark-stringify@7.0.4`
See remark-parse@7.0.2 and remark-stringify@7.0.4
funding fields to packagesremark-jargon to list of pluginsd282fef Fix export of remark options type
8d02516 Add TypeScript definitions
remark-stringify (see remarkjs/remark@remark-stringify@7.0.0)remark-parse (see remarkjs/remark@remark-parse@7.0.0)unified (see unifiedjs/unified@8.0.0)remark-code-frontmatter to pluginsremark-code-extra to List of Pluginsremark-tree-sitter to list of pluginsremark-sectionize to plugins.mdremark-capitalize to list of pluginsremark-utf8s and remark-code-screenshot to list of pluginsremark-redactable to list of pluginsNo code changes, ...but Announcing the unified collective! 🎉 Read more about it on Medium »
4fa8b1d Replace deprecated plugin with remark-behead in list of plugins
remark-parse, remark-stringifylabel to associationsmeta in codeunifiedgit.io linksremark-macro to list of pluginsremark-git-contributors to list of pluginsremark-outer-toc to list of pluginsremark-behead in list of pluginsremark-redact to list of pluginsremark-attr to list of pluginsad9e290 Add examples on how to configure
remark itselfPlus all changes in remark-parse and remark-stringify.
plug-in > pluginContribute section to readme.mdremarkjscontributing.mdcode-of-conduct.mdf11d8c7 remark-cli: update unified-args (see `unified-args@4.0.0`)
unified-args (see unified-args@4.0.0)breaks from core — use remark-breaks insteadyaml from core — use remark-frontmatter insteadblock-elements.jsonstringLength measuringb103557 Fix bug where tables with one column didn’t work
Much changed in unified@6.0.0. On the CLI, unified-engine@3.0.0 and unified-args@3.0.0 come with some changes as well.
Much changed in unified@6.0.0. On the CLI, unified-engine@3.0.0 and unified-args@3.0.0 come with some changes as well.
Please see the Gitter room for help upgrading.
1dce2f0 Add support for configuring block-level tag-names
13719de Fix bug when installing both CLI and API as siblings
* in path to use asteriskBetter virtual files! Better CLI!
Better virtual files! Better CLI!
Read more about that in vfile@2.0.0.
Presets are now supported on the CLI. They‘re basically configuration files published to npm. Read more about those in unified-engine@2.0.0.
Fix white-space only lines to be seen as blank lines (`f919648`)
f919648)fd77939)7460933)58a7036)1617a6c)52e4e80)97b2e12)Nothing published for this version
...and refactor the project as a whole.
Refactor project to monorepo
...and refactor the project as a whole.
remark-cli;remark, but is split into
remark-parse and remark-stringify.There’s a lot less duplicate documentation between the different projects. Although this does require more navigation between links, this should make things clearer for newcomers who don’t know what’s what.
Externalise remark(1) into unified-engine (API) and
unified-args (CLI creator), which comes with a huge
refactor, 100% coverage, and lots of bug fixes.
Update to use unified@4.0.0, which comes with a much simpler interface, includes a streaming interface, better support for combining processors, and allows transformers to provide a new syntax tree instead of only allowing modifications.
The most notable change is that remark.process() and
the like no longer work, switch instead to using
remark().process(). And that remark.process()
returns a file instead of file.contents
Read more: https://github.com/wooorm/unified/releases/tag/4.0.0
The parser and compiler are now their own packages, which, combined with unified@4.0.0 means browsers can pack less weight if either isn’t required. Additionally, docs for interacting with the parser and the compiler are included. Those docs result in more of the previously private interface to be publicised, which resulted in some changes for the better:
tokenizer.onlyAtTop > tokenizer.notInList;Processor#atTop > Processor#inList;Processor#exitTop > Processor#enterList;tokenizer.notInBlockquote > tokenizer.notInBlock;Processor#inBlockquote > Processor#inBlock;Processor#enterBlockquote > Processor#enterBlock;blockTokenizers.heading > blockTokenizers.atxHeading;blockTokenizers.lineHeading > blockTokenizers.setextHeading;blockTokenizers.code > blockTokenizers.indentedCode;blockTokenizers.fences > blockTokenizers.fencedCode;blockTokenizers.footnoteDefinition > blockTokenizers.footnote;inlineTokenizers.inlineText > inlineTokenizers.text;inlineTokenizers.tag > inlineTokenizers.html;inlineTokenizers.inlineCode > inlineTokenizers.code.Remark > remark in logo.Remove false-positive in incorrect stdin(4) detection (`e1aa9f6`)
e1aa9f6)Fix non-magic globs from matching all files (`a4ec698`)
a4ec698)Add support for .remarkrc.js files (`cd59707`)
Nothing published for this version
Fix fatal error on structures for table-like nodes (`7b39253`)
Remove redundant escaped emphasis markers in words (`b9699bb`)
b9699bb)Update to make sure plug-ins are used over files (`e445030`)
e445030)2e17441)86bb88e)480b01a)bfb5812)link, src, href properties to url (801a1b6)undefined value for checked on list-items (d0452d3)horizontalRule to thematicBreak (67b36a0)offsets to nodes when parsing in remark(3) (070d977)tableHeader definition (593bb82)"link" (on definitions),
"src" (on images, image references), and "href" (on links, link
references) to "url";horizontalRule nodes, make sure
to rename them to thematicBreak. This change spawns from changes
in CommonMark, where they decided to rename the node to allow
for other uses cases;listItem.checked was undefined;tableHeader. The tableHeader was dropped and is now another
tableRow;Compiler#
to Compiler#visitors;remark-range, switch to using
vfile-location instead.Nothing published for this version
Nothing published for this version
Nothing published for this version
First alpha release of the next version of remark.
First alpha release of the next version of remark.
Fix entities in shortcut and collapsed references (`bb1683a`)
Refactor internal ignore API in remark(1) (`c94c7df`)
c94c7df)Fix empty list-item bug in remark(3) (`8a62652`)
Fix void list-items in remark(3)
Fix table without body support to remark(3)
Fix globs to files without extension in remark(1)
Update copyright date-references to 2016
Add support for injecting plugins into remark(1)
Fix files without extension in remark(1)
Today marks the release of remark, the markdown processor previously known as mdast, with, other than the cool name, many awesome updates.
⛄🎅🎄 Happy hollidays!
Today marks the release of remark, the markdown processor previously known as mdast, with, other than the cool name, many awesome updates.
escape nodes from the AST (which is, by the way, now called mdast), meaning there’s no chance plug-ing authors accidentally insert markdown syntax into the tree;If you’re a plug-in author, see “Renaming from mdast to remark”.
mdast in component.json and package.json to remark and, while there, update dependencies too. For the latter consult the list of plugins to see which are already renamed;package.json files, rename mdastConfig to remarkConfig;.mdastrc and .mdastignore files to .remarkrc and .remarkignore.mdast to remark (38fe53d)alt value for imageReference, image (698d569)Nothing published for this version
Nothing published for this version
One column per quarter.