Skip to content

xginn8/markdown-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Extractor

A simple tool to extract a chunk of markdown and all dependents.

Usage

$ ./extract-markdown.sh "Usage" < README.md

\```bash
$ ./extract-markdown.sh "Usage" < README.md
\```

Haskell implementation

There is also a (much faster) Haskell implementation available. By default, this will return all children of any matched header until a header at the same level of the match is encountered.

To compile:

$ ghc --make Extract.hs

To invoke:

$ ./Extract "Usage" README.md

About

extract some markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published