markdown-code-extractor

1.4.0 • Public • Published

markdown-code-extractor

Extracts code blocks in markdown to the relative path link given right above

Status

Build 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

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-code-extractor

Weekly Downloads

1

Version

1.4.0

License

MIT

Last publish

Collaborators

  • chad-autry