John MacFarlane
John MacFarlane
rock?
This looks like a great tool. Why not add a rockspec and submit it to luarocks, so it can be installed more easily?
If you update the pandoc version you're using, you'll be able to get by with less surgery on the pandoc code base. We've been working on removing C dependencies. Previously,...
When `--wrap=0` (nowrap) is set, we get proper escaping to prevent an ordered list from being created: ``` % ./build/src/cmark -t commonmark --width 0 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1\. aaaaaaaaaa ^D aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1\....
Currently we generate a number of scanners from regexes using re2c. This has two advantages: 1. It is easy to see at a glance what the scanners do, and easy...
We should use a direct XML rendering of the parse tree, of the sort produced by `cmark -t xml --normalize`, for the spec examples. The HTML we now use mixes...
``` - [foo]: bar baz ``` is currently parsed by the reference implementations as ``` baz ``` It should presumably be ``` baz ``` We should add an example like...
Entities
As noted in [this thread](https://talk.commonmark.org/t/spec-issues-character-entity-references/2306), it might be desirable to change what the spec says about entities. Arguably the spec should not require that entities be replaced (in the parsing...
See jgm/CommonMark#57, especially @zdne's comment. Instead of starting and ending line and column for each element, we need to associate each element with a possibly non-contiguous range of positions in...
If I do ``` sh packcheck.sh cabal-new GHCVER=8.4.3 GHC_OPTIONS="-O0 -Werror -Wall" ``` then the build fails because of warnings compiling some of the dependencies. I'd like to be able to...
Here are two kinds of texts we might want to distinguish: ``` paragraph content > block quote continuation of paragraph ``` vs ``` paragraph content > block quote new paragraph...