Inline code value incorrectly parsed for
`
a
`
I didn't found the spec, but commonmark parse value as "a", remark parse value as " a", github also render as "a".
This is not a place to ask questions. For that, go to spectrum
[email protected]require('unified')().use(require('remark-parse')).parse('`\n a\n`').children[0].children[0].value
the value of inlineCode node be "a"
the value of inlineCode node is " a"
More info https://github.com/prettier/prettier/pull/8140#discussion_r421797658
Thanks @fisker! Same response as https://github.com/remarkjs/remark/issues/493#issuecomment-627540363, keep 鈥檈m coming!
Heya, just wanted to give an update about micromark, it鈥檚 sort-of a new motor that we鈥檒l soon use in remark to parse markdown. It鈥檚 not yet 100% ready but will be relatively soon. The good news is, it fixes this issue! (P.S. see this twitter thread for some more info!)
Sorry for the wait! I just wanted to share that there鈥檚 now a PR that solves this issue: https://github.com/remarkjs/remark/pull/536.
This is now released in [email protected]