markdown
markdown copied to clipboard
Basic Markdown parser and HTML generator
Emit the Info field of CodeBlock in the CodeBlock.printMardown function so that a round trip from markdown to markdown will preserve the language Info.
Putting the following [reference links] through mdfmt, the output should equal the input: ```none [full][full] [collapsed][] [shortcut] [collapsed]: u2 [full]: u1 [shortcut]: u3 ``` Currently, mdfmt renders all three link...
Addressing #16.
I like my tables to look something like: ```none | foo col | bar col | baz col | | :------ | :-----: | ------: | | 1 | 2...
Attempting to address #13: correctly render reference links ([full], [collapsed], [shortcut]) in Markdown. Sorry for the churn (renaming) with #14. [full]: https://spec.commonmark.org/0.31.2/#full-reference-link [collapsed]: https://spec.commonmark.org/0.31.2/#collapsed-reference-link [shortcut]: https://spec.commonmark.org/0.31.2/#shortcut-reference-link
Ignore.
GitHub's markdown renderer creates lowercase anchors for headings. For example, this heading, `## Diagnostic`, can be found using either of these two URLs, which differ in the case of their...