Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^11.0.2
->^15.0.0
^1.0.0
->^5.0.0
Release Notes
remarkjs/remark (remark)
v15.0.1
Compare Source
54ee687
Fix typoFull Changelog: remarkjs/remark@15.0.0...15.0.1
v15.0.0
Compare Source
Change
98a2560
Change to require Node.js 16migrate: update too
a3e6d54
Change to useexports
migrate: don’t use private APIs
943f6ac
Update@types/mdast
,mdast-util-{from,to}-markdown
,unified
, etcmigrate: update too
remark-parse: only really changes
Buffer
->Uint8Array
, so use encodings supported byTextDecoder
if you are passing binary dataremark-stringify:
bulletOrderedOther
is removed, you can removebulletOrderedOther
if you passed it, it’s now the default;fences
is nowtrue
by default, if you don’t want indented code, passfences: false
;listItemIndent
is now'one'
by default, you can removelistItemIndent: 'one'
if you passed it, or explicitly set it to'tab'
if you want itTypes
bd8c922
Add typed settingsDocs
7cc0432
Addremark-link-rewrite
to list of pluginsby @rjanjic in https://github.com/remarkjs/remark/pull/1212
e72d91a
Addremark-mentions
to list of pluginsby @FinnRG in https://github.com/remarkjs/remark/pull/1193
Full Changelog: remarkjs/remark@14.0.3...15.0.0
v14.0.3
Compare Source
Misc
https://github.com/remarkjs/remark/issues/11621162
f6bd64e
Refactortsconfig
s for perf and strictnessbb4c814
Add improved docs on what this project isby @BeLi4L in https://github.com/remarkjs/remark/pull/1147
bec44aa
Updatetsconfig.json
to use node16 module resolutionby @ChristianMurphy in https://github.com/remarkjs/remark/pull/1106
f07f413
Addignore-scripts
to.npmrc
by @ChristianMurphy in https://github.com/remarkjs/remark/pull/1103
134ece2
Update Actionsby @ChristianMurphy in https://github.com/remarkjs/remark/pull/1070
974f893
Fix internal types for TS 4.9Plugins
1e488d0
Addremark-ins
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1129
e456dc5
Addremark-flexible-markers
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1126
42114fc
Addremark-flexible-paragraphs
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1120
6aa638a
Addremark-flexible-containers
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1112
20e7543
Addremark-flexible-code-titles
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1108
32d6948
Addremark-cloudinary-docusaurus
to list of pluginsby @johnnyreilly in https://github.com/remarkjs/remark/pull/1090
28aa8b9
update tests for changes inmdast-util-to-markdown
9af1a87
Addremark-code-title
to list of pluginsby @kevinzunigacuellar in https://github.com/remarkjs/remark/pull/1076
0d1eb09
Add 7 plugins to list of pluginsby @Xunnamius in https://github.com/remarkjs/remark/pull/1064
c7e8171
Remove deprecatedremark-jargon
by @LunaticMuch in https://github.com/remarkjs/remark/pull/1059
Full Changelog: remarkjs/remark@14.0.2...14.0.3
v14.0.2
Compare Source
87c50a5
Add improved docsby @wooorm in https://github.com/remarkjs/remark/pull/900
Full Changelog: remarkjs/remark@14.0.1...14.0.2
v14.0.1
Compare Source
9026568
Add missing types dependencyv14.0.0
Compare Source
b7afd25
Use ESMChange:
Learn more about ESM in this guide
42d1b21
Update dependenciesunified
(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
tovfile.contents
vfile.value
mdast-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)bc55caa
Add JSDoc based typesv13.0.0
: (micromark)Compare Source
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.Migration
remark*
packages you are using inpackage.json
remark-gfm
Please compare with those projects if the new behavior is correct or not (CommonMark Dingus, or create a gist for GFM).
Does remark not match those reference parsers? Please open an issue here!
Changes
remark-parse
remark-parse
now defers its work tomicromark
andmdast-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 toremark-parse
work differently: they’re a two-part act. See for examplemicromark-extension-footnote
andmdast-util-footnote
.commonmark
is no longer an option — it’s the defaultgfm
is no longer an option — moved toremark-gfm
pedantic
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
remark-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 examplemdast-util-footnote
.options
commonmark
is no longer an option, it’s the defaultemphasis
now defaults to*
bullet
now defaults to*
gfm
is no longer an option — moved toremark-gfm
tableCellPadding
— moved toremark-gfm
tablePipeAlign
— moved toremark-gfm
stringLength
— moved toremark-gfm
pedantic
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 titlesChanges to output / the tree
All 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 onposition
Thanks
Thanks 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!
v12.0.1
Compare Source
a185821
Update internalimport-meta-resolve
Full Changelog: https://github.com/remarkjs/remark/compare/[email protected]@12.0.1
v12.0.0
Compare Source
(see
15.0.0
)remarkjs/remark-footnotes (remark-footnotes)
v5.0.0
Compare Source
v4.0.1
Compare Source
cf5b45e
Update docs, tests for changes inremark-rehype
v4.0.0
Compare Source
6ec8372
Use ESM6249e02
Add JSDoc based types4c4f827
Remove warning for remark 12v3.0.0
Compare Source
0cfeae1
Update formicromark
inremark@13
(breaking, this update will not work with remark lower than v13, and see commit for other changes)
v2.0.0
Compare Source
020aa32
Add types(breaking, potentially, if you or your dependents use typescript)
Configuration
📅 Schedule: Branch creation - "* * * * 1-5" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.