Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanne007/remarkdown
a parser for a mini markdown-like marking language
https://github.com/nanne007/remarkdown
Last synced: 8 days 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 (over 10 years ago)
- Default Branch: dev
- Last Pushed: 2019-12-14T23:51:10.000Z (almost 5 years ago)
- Last Synced: 2023-07-13T19:50:54.701Z (over 1 year 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.