Skip to content

bitcraftlab/marked-ast-markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marked-ast-markdown

This is a simple module that takes a marked-ast parsed Abstract Syntax Tree and generates markdown output.

Why?

You may be wondering why you would do this. In my case, I wanted to parse a markdown document (specifically a README.md file) and parse the file and then modify the document in some way. Rather than attempt to parse markdown from source each time and make text modifications it made much more sense to work with an AST as you would if you were modifying JS code. This package provides the ability to generate a markdown file again, once those modifications have been made.

Example Usage

LICENSE

About

Given a marked-ast AST generate markdown output

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%