https://github.com/alerque/commonmark-lua
Lua parser for CommonMark using LPEG grammar
https://github.com/alerque/commonmark-lua
Last synced: 12 days ago
JSON representation
Lua parser for CommonMark using LPEG grammar
- Host: GitHub
- URL: https://github.com/alerque/commonmark-lua
- Owner: alerque
- License: mit
- Created: 2020-05-12T18:54:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T09:15:23.000Z (about 6 years ago)
- Last Synced: 2025-03-30T00:19:00.680Z (about 1 year ago)
- Language: Lua
- Homepage:
- Size: 29.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# CommonMark Lua
[](https://github.com/alerque/commonmark-lua/actions)
[](https://github.com/alerque/commonmark-lua/actions)
[](https://github.com/alerque/commonmark-lua/releases)
[](https://luarocks.org/modules/alerque/commonmark)
[](https://gitter.im/commonmark-lua/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
A Lua parsing expression grammar for [CommonMark](https://commonmark.org/) using ([LPeg](http://www.inf.puc-rio.br/~roberto/lpeg/)).
## Related projects
Other Lua projects that directly target CommomMark include [cmark-lua](https://github.com/jgm/cmark-lua) and it's command line counterpart [lcmark](https://github.com/jgm/lcmark), as well as two more with *cmark* connections: [luacmark](https://github.com/jgm/luacmark) and [commonmark-lua](https://github.com/jgm/commonmark-lua)¹.
Not directly targetting CommonMark but in some ways more similar to what this project aims to do are [peg-markdown](https://github.com/jgm/peg-markdown) and [lunamark](https://github.com/jgm/lunamark).
¹ Yes I am aware of the name conflict with this project, but it appears this early effort was abanded in favor of *cmark-lua* so I don't think the name conflict will be an issue.