markdown-code-extractor
v1.4.0
Published
Extracts code blocks in markdown to the relative path link given right above
Downloads
7
Readme
markdown-code-extractor
Extracts code blocks in markdown to the relative path link given right above
Status
Purpose
While developing copy pasteable systemd and fleet units inline in a markdown file with descriptions, I thought it'd be handy to have them each in their own file as well.
Directions
- Install from npm
- Put a relative link immediatelly in front of code blocks to extract
- Do NOT put any other type of link there
- Make sure any folders required are pre-created
- Execute from the directory the relative paths are in relation to
- Pipe in input markdown