remark@next (13)
See original GitHub issueHi!
remark is switching to a new parser (and compiler) internally (micromark, remarkjs/remark#536
), which will break several of these plugins.
Several of the remark plugins, such as frontmatter, footnotes, math, a new remark-gfm, and a couple others, will update soon too.
Those might server well as inspiration on how to tokenize with micromark in remark. There are several micromark extensions already as well (which deal with tokenizing markdown), and corresponding mdast extensions, which deal with mapping those tokens to mdast.
Anyway, feel free to ask me questions!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:12
- Comments:20 (6 by maintainers)
Top Results From Across the Web
remark@next (13) · Issue #27 · elviswolcott/remark-admonitions ...
Hi! remark is switching to a new parser (and compiler) internally (micromark, remarkjs/remark#536), which will break this plugin.
Read more >United States v. Jones, No. 21-3910 (6th Cir. 2022)
Decided and Filed: December 13, 2022Before: MOORE, GIBBONS, and LARSEN, Circuit Judges. COUNSELON BRIEF:Terra L. Bay, Chattanooga, Tennessee, for Appellant.
Read more >D109737 [LTO] Emit DebugLoc for dead function in optimization ...
Currently, the dead functions information getting from optimizations remarks does not contain debug location, but knowing where these dead functions locate ...
Read more >MORE AVAILABLE PRINTS - Collecting Japanese Prints
... Flute by Moonlight MEDIUM: Woodblock print DATE: 1883 DIMENSIONS: 13 3/4 x ... the rogue a gift of a fine robe with...
Read more >Secret Santa - Events - S.A. Communiqué
Then make sure to join on the 13th of December for Secret Santa We ... General remark: Next to the present...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We are planning to update them all at once, but the migration should start fairly soon. In fact, I already started working on it for some plugins (but not
remark-custom-blocks
). If you are interested in working onremark-custom-blocks
, I’d would be happy to accept the pull request, and can arrange to publish a version without problem. Please note however that this will require significant structural changes; here are my current thoughts on how we are going to do it:micromark-extension-custom-blocks
, that will in the end contain both amicromark
tokenizer (lib/index.js
) and an HTML serializer;remark-custom-blocks
to use the tokenizer mentioned above, and render an AST similar to the one we generate today.In fact, I’m planning to initialize a specific branch for working on
micromark
plugins. The best you can do is maybe to wait for it to get created as it will provide an plugin example (micromark-extension-kbd
). I can arrange to do it next week, so stay tuned, I’ll post here when it’s done. You can also of course start working on it by now, and we will integrate it after. There is a great margin on what we can do as the migration is just getting started.Thanks a lot for having taken time to inform us on this issue.
I’ll experiment with micromark in the upcoming weeks, and ask you if I have any questions.