markdown-shell-script
Transforms shell commands and code snippets from a markdown file into a shell script
Installation
yarn add markdown-shell-script
or npm install markdown-shell-script
Usage
const markdownShellScript = ; /*#! /bin/sh # Go to root foldercd ~# Create hello-world directorymkdir hello-world cat > hello-world/greeting.js << 'EOF'console.log("Hello world")EOF node hello-world/greeting.js*/