Skip to content

ramonpoca/md2dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md2dash

A python script to convert a Markdown file into a Dash Cheatsheet.

Dependencies

This script uses mistune to parse markdown:

pip install mistune

Usage

Just invoke it with the markdown file:

./md2dash README.md

then you can add the docset to dash by double clicking or using open. Note that the docset name will be based on the name of the Markdown file.

open README.docset

You can get the full usage with -h.

Docset title

If not set with -t/--title the title will use the markdown file basename.

./md2dash -t "Crazy Potato" README.md

Customizing headers

By default only headers 1 and 2 are added to the index. You can add additional or different types for different headers:

./md2dash -l 3 Section -l 4 Header README.md

License

Licensed under the GNU General Public License v3.0.

About

A Markdown to Dash "cheatsheet" converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published