md2csv

command module
v0.0.0-...-1c43e4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2020 License: BSD-2-Clause Imports: 14 Imported by: 0

README

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}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL