Pure Ruby parser of CommonMark, A strongly defined, highly compatible specification of Markdown.
WIP
WIP
Ref. https://spec.commonmark.org/0.31.2/spec.json
- Tabs: 11 examples
- Backslash escapes: 13 examples
- Precedence: 1 examples
- Thematic breaks: 19 examples
- ATX headings: 18 examples
- Setext headings: 27 examples
- Indented code blocks: 12 examples
- Fenced code blocks: 29 examples
- HTML blocks: 44 examples
- Link reference definitions: 27 examples
- Paragraphs: 8 examples
- Blank lines: 1 examples
- Block quotes: 25 examples
- List items: 48 examples
- Lists: 26 examples
- Inlines: 1 examples
- Code spans: 22 examples
- Emphasis and strong emphasis: 132 examples
- Links: 90 examples
- Images: 22 examples
- Autolinks: 19 examples
- Raw HTML: 20 examples
- Hard line breaks: 15 examples
- Soft line breaks: 2 examples
- Textual content: 3 examples
After checking out the repo, run bin/setup
to install dependencies. Then, run bin/test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/kawakamimoeki/mquve. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the mquve project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.