Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevehjohn/markdowntools
Teaching myself about parsing
https://github.com/stevehjohn/markdowntools
ast csharp markdown
Last synced: 15 days ago
JSON representation
Teaching myself about parsing
- Host: GitHub
- URL: https://github.com/stevehjohn/markdowntools
- Owner: stevehjohn
- Created: 2019-02-19T21:49:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T20:42:00.000Z (almost 6 years ago)
- Last Synced: 2024-12-20T04:36:43.259Z (20 days ago)
- Topics: ast, csharp, markdown
- Language: C#
- Size: 271 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Markdown Tools
An attempt to propertly parse Markdown into an AST so it can be output to other formats, most likely HTML.
## WIP - Notes
Will need to work out precedence as I go along. Figured out that this order matters so far:
* CodeBlockIndented
* Heading
* Everything Else
* WhiteSpace
* TextNot sure I'm happy with the concept of dummy evaluators just being used to apply attributes. Might need a bit of rearchitecting.
Console is excluded from code coverage for now as it's pretty dumb.
## A note on CheckEvaluatorAttributes
For now, assumes that any item can start a document so ValidPreviousNodeSequenceAttribute attributes are ignored in that case.