Titus
Titus
Thanks for the ping. Will likely depend on how they do it. With footnotes, they didn’t bother to update the GFM spec, but it’s a syntax extension to their parser,...
There is a *ton* of feedback for GitHub to do something else: https://github.com/github/feedback/discussions/16925 Also, feature parity, if possible, would be super buggy: GH has been introducing a bunch of broken...
The new notes, similar to math and mentions, but unlike footnotes and say tables, are done on the HTML tree. So they are not part of GFM itself, which is...
See also https://github.com/okikio/bundlejs/discussions/29. P.S. I’m still very interested in badges :)
Sweet, thanks for working on this! (Btw, maybe this is intentional, but FYI: your branch is not a PR to upstream yet.)
It’s a remark problem :'( There is code for this, but for some reason it doesn’t work: https://github.com/remarkjs/remark/blob/e8e65ceaeacf96ab8fe63bbb43fc36c70d08254a/packages/remark-stringify/lib/escape.js#L120-L142
For generic directives, I wrote an attribute parser, that support `#id.class boolean key=value or="quoted"` attributes: https://github.com/micromark/micromark-extension-directive/blob/main/lib/factory-attributes.js. That’s a lot of what you’d need to write. Architecturally, there is a) a...
> I wonder if it's used anywhere. But in principle, it's nice, maybe a little complex but still nice. It’s getting some traction: a growing number of questions about it...
Thank you! `react-syntax-highlighter` comes with a “[light](https://github.com/conorhastings/react-syntax-highlighter#light-build)” build, similar to what you suggested, and I think that that is the best solution: #### Normal build Including all languages. ```js import...
here’s a PR somewhere else that types (using JSDoc comments, which I like a lot) these same functions: https://github.com/wooorm/xdm/pull/24, by @ChristianMurphy