Skip to content

Repository files navigation

vscode-md-babel

Execute code blocks in Markdown documents using the md-babel CLI tool.

Features

  • Execute code blocks at the cursor position in Markdown files.
  • View execution results directly in the document.

Usage

  1. Place cursor in a code block within a Markdown document.
  2. Press Cmd+Enter (Mac) or Ctrl+Enter (Windows/Linux) to execute the block.
  3. The output will replace the code block's content.

Requirements

Extension Settings

  • mdBabel.executablePath: Path to the md-babel executable.

Configuration

After installing the extension, set the path to your md-babel executable:

  1. Open VS Code settings (Code → Preferences → Settings)
  2. Search for "mdBabel"
  3. Enter the full path to your md-babel executable

About

Execute Markdown code blocks for literate programming and image generation

Resources

Contributing

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages