Sha256: 0a65a454ebcba3e8855b21558b5d0b776dee3a33d7187e9cbe64b0a8ad56f1a1

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

# MarkdownExec

This gem allows you to interactively select and run code blocks in markdown files.

* Code blocks can be named.

* Named blocks can be required by other blocks.

* The selected code block, and all required blocks, are collected in the order they appear in the markdown file.

## Installation

Install:

    $ gem install markdown_exec

## Usage

`mde --help`
Displays help information.

`mde`
Process `README.md` file in the current directory. Displays all the blocks in the file and allows you to select using [up], [down], and [return]. Press [ctrl]-c to abort selection.

`mde -f my.md`
Process `my.md` file in the current directory.

`mde -p child`
Process markdown files in the `child` directory.

`mde --list-blocks`
List all blocks in the selected files.

`mde --list-docs`
List all markdown documents in the selected folder.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the MarkdownExec project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/markdown_exec/blob/master/CODE_OF_CONDUCT.md).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown_exec-0.1.3 README.md