Command Line Interface (CLI)
Markdown Maestro provides a powerful command-line interface (CLI) for converting Markdown files to HTML directly from your terminal.
Usage
The basic command to convert a file is:
maestro [input file] [options]Examples
Convert a file to HTML
This will read `README.md`, convert it to HTML, and print the output to standard output.
maestro README.mdOutput to a file
Use the `-o` or `--output` flag to specify an output file.
maestro README.md -o readme.htmlPiping from stdin
You can also pipe content directly into the CLI.
echo "**Hello, CLI!**" | maestroAvailable Options
Here are some of the most common options available:
-o, --output <file>: Specify the output file path.-h, --help: Display the help menu with all available commands and options.--no-gfm: Disable GitHub Flavored Markdown (GFM) extensions.--silent: Suppress all warnings and informational messages.
For a complete list of options, run `maestro --help` in your terminal.