Skip to content

Converts a Markdown document into a CSV file according to the index

License

Notifications You must be signed in to change notification settings

digitorus/md2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md2csv

Converts a Markdown document into a CSV file based on the document index, ignoring common sections such as the Introduction, Definitions, Acknowledgements, etc.

This application was written with the intention to create a quick compliance check list from requirements written in markdown such as the CA/Browser Forum Documents and the Mozilla PKI Policy.

Install

go install github.com/digitorus/md2csv

Usage

md2csv {url|filename}
md2csv {url|filename} {url|filename} {url|filename} ...

md2csv document.md
md2csv https://raw.githubusercontent.com/mozilla/pkipolicy/master/rootstore/policy.md
md2csv https://raw.githubusercontent.com/mozilla/pkipolicy/master/rootstore/policy.md document.md
md2csv https://raw.githubusercontent.com/cabforum/documents/master/docs/BR.md
md2csv https://raw.githubusercontent.com/cabforum/documents/master/docs/BR.md https://raw.githubusercontent.com/cabforum/documents/master/docs/EVG.md

Using pdf2md you can convert a PDF document to Markdown so that you can use it with md2csv.

Using Docker

docker run -ti digitorus/md2csv sh

After this you can use the md2csv command from above.

Reconnect Docker image

docker ps -a
docker start {container id}
docker attach {container id}

About

Converts a Markdown document into a CSV file according to the index

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published