This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
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
->14.0.3
7.0.1
->11.0.0
1.3.2
->4.0.1
2.0.3
->5.1.2
2.1.3
->5.1.3
3.0.3
->6.1.3
Release Notes
remarkjs/remark (remark)
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
963292f
Changemaster
in links63888af
Update sponsorsv12.0.0
Compare Source
2841e47
Updateremark-parse
(breaking, please see its release section)
1baae5e
Updateremark-stringify
(breaking, please see its release section)
6543d08
Updateunified
(breaking, please see its release section)
remarkjs/remark-frontmatter (remark-frontmatter)
v4.0.1
Compare Source
b56dae7
Add improved docsby @wooorm in https://github.com/remarkjs/remark-frontmatter/pull/17
Full Changelog: remarkjs/remark-frontmatter@4.0.0...4.0.1
v4.0.0
Compare Source
c02f672
Use ESM3f125a9
Add JSDoc based typesv3.0.0
Compare Source
fb1357b
Update formicromark
inremark@13
(breaking, this update will not work for remark lower than v13, see commit for changes)
v2.0.0
Compare Source
7824e34
Remove dependency(breaking if
Object.assign
is not supported in your runtime)65b8410
Add types(breaking, potentially, if you or your dependents use typescript and didn’t expect types)
v1.3.3
Compare Source
890ec1d
Refactor prosebc4a7f8
Add notes on securityremarkjs/remark-lint (remark-preset-lint-consistent)
v5.1.2
Compare Source
v5.1.1
Compare Source
v5.1.0
Compare Source
v5.0.1
Compare Source
bca9530
Addreadme.md
toremark-lint
packagev5.0.0
Compare Source
This is a big one: remark-lint no longer does anything without you telling it to.
The breaking part is
reset
andpresets
.On the CLI, please start using
remark-preset-lint-consistent
,remark-preset-lint-recommended
, and/or create and publish your own config!Changes
f5c1227
Makereset
the default6196124
Update for changes in [email protected]77709f5
Add support for passing severitiesv4.0.0
See
[email protected]
v3.0.0
382bfba
Update dependenciesremarkjs/remark-lint (remark-preset-lint-markdown-style-guide)
v5.1.3
Compare Source
v5.1.2
Compare Source
v5.1.1
Compare Source
c5c3832
Markno-auto-link-without-protocol
as deprecatedv5.1.0
Compare Source
v5.0.1
Compare Source
bca9530
Addreadme.md
toremark-lint
packagev5.0.0
Compare Source
This is a big one: remark-lint no longer does anything without you telling it to.
The breaking part is
reset
andpresets
.On the CLI, please start using
remark-preset-lint-consistent
,remark-preset-lint-recommended
, and/or create and publish your own config!Changes
f5c1227
Makereset
the default6196124
Update for changes in [email protected]77709f5
Add support for passing severitiesv4.0.0
See
[email protected]
v3.0.0
905f47a
Update dependenciesremarkjs/remark-lint (remark-preset-lint-recommended)
v6.1.3
Compare Source
v6.1.2
Compare Source
v6.1.1
Compare Source
c5c3832
Markno-auto-link-without-protocol
as deprecatedv6.0.0
Compare Source
Hi! 👋
With 6.0.0, rules are no longer in the
remark-lint
package. In fact, remark lint doesn’t do much, other than controlling messages.Rules are now each in their own package. You don’t have to
npm install
and.use()
each package though, you can install and use presets instead. If you find yourself installing many rules to update, maybe create a preset too?By giving more power to presets over the remark-lint package itself, I think rules, especially external rules, will prosper!
First off, if “presets” changed, the below diff shows how you can update:
Second, if you used
remark-lint
directly, you need to change your config as follows.Finally, if you use remark on the API, change your code as follows:
v5.0.0
Compare Source
See
[email protected]
v4.0.1
Compare Source
149a4a1
)59ce8b5
)v4.0.0
3edcac8
Update dependenciesConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.