Skip to content

CAN will use marked to process markdown input

!! warning this file contains outdated information, I since found that marked does not provide an AST

Marked provides CAN with the flexibility to use its AST in early development while exposing a stand-alone lexer if the parser needs replacing in the future (marked provides a lexer, parser, and renderer for markdown).

Because marked also has a HTML renderer for its AST, I can also start with a way to export HTML from the notebook manager. A markdown renderer will still need to be written.