Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
* Text

Not 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.