Skip to content

andreaseg/mdgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple python script to embed external code into markdown files

The script will look for markdown files in its own folder and attempt to replace linked code with markdown code-blocks. The generated files will be placed in the target folder. The syntax for linked code is given by

[code][<language>](<path>)

where <language> decides the syntax highlighting and <path> is the path of the code to be included.

It is also possible to just include some lines from a file

[code][<language>](<path>)[lines=<first>-<last>]

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published