Mike Anderson

Results 17 comments of Mike Anderson

Here is the same piece of code to see how github renders it. **A*B*C* Looking in the preview and pulling up the developer tools I get: ``` **ABC* ``` which...

After a careful reading of the spec I think that the dingus is correct. 1. First we consider `**` it can't end an emph, as there are no earlier ones....

Thanks for this. That is a great resource. There's clearly a few spots for improvement here... But looking at the report on the site I'm pleased that this small library...

> The example schema you shown should be something like this, right? Absolutely.

> The example schema you shown should be something like this, right? I've fixed it in the description now. There were a few issues in the proposed syntax too, which...

Ran this via github codespaces and `npm test` passed. Not sure if there's any other testing we should do. Feels a bit like a test should be added somewhere for...

It looks like all that would be required is to change one line in inlines.js: https://github.com/commonmark/commonmark.js/blob/master/lib/inlines.js#L74 ``` var reSpnl = /^ *(?:\n *)?/; ``` to ``` var reSpnl = /^[...

Actually, that new regex only covers this one case, but the 0.30 spec says we should interpret "whitespace" as: > A [Unicode whitespace character](https://spec.commonmark.org/0.30/#unicode-whitespace-character) is any code point in the...

It looks like all of the whitespace definitions in that part of the code could do with a cleanup. ``` var reWhitespaceChar = /^[ \t\n\x0b\x0c\x0d]/; var reUnicodeWhitespaceChar = /^\s/; var...

> Where did you see that this case should be covered by unicode whitespace? The spec says "white-space" and the only definition for whitespace is now "unicode whitespace". In 0.29...