https://github.com/nanne007/remarkdown
a parser for a mini markdown-like marking language
https://github.com/nanne007/remarkdown
Last synced: 4 months ago
JSON representation
a parser for a mini markdown-like marking language
- Host: GitHub
- URL: https://github.com/nanne007/remarkdown
- Owner: nanne007
- Created: 2014-06-09T01:49:16.000Z (about 11 years ago)
- Default Branch: dev
- Last Pushed: 2019-12-14T23:51:10.000Z (over 5 years ago)
- Last Synced: 2024-12-30T13:53:36.154Z (6 months ago)
- Language: Scala
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What
Remarkdown is going to be a parsing-combinator-based parser of an improved markdown syntax.
It follows most syntax of original markdown, but adds some clear, simple and unified rules.## Why
Recently, I'm learning parsing combinator in compiler area, and I'd like to get some practice.
Problems about writing markdown comes to my mind.
So here is the idea.## How
1. split the text into blocks, which are heading, code block, block quote, list, and so on.
2. for each block, do inline parse.
3. inline parsing parse inline spans like strong, link, bold, italics, and so on.
4. then result into corresponding html pieces.