md2src 0.0.1

Markdown to source. Extracts code blocks marked with triple backticks into files.
md2src-0.0.1 is not a library.
Visit the last successful build: md2src-1.1.0

Mardown to Source

Simple rust binary to extract code blocks marked with triple backticks from markdown files into source files.

Build Status Coverage Status

Installation

To download the latest release, please run cargo install md2src.

Example

Run run md2src (or cargo run) to create the source files named codeXXX.ext.

Todo

Please note, that the current version is just a a proof of concept / minimal valuable product state. Things planned:

  • Implement CLI: input name, output name, languages, ignore string, ...
  • Vector of tuple with language / extension combinations