Skip to content

Basic Usage

MDEV Coding Inc. edited this page Jan 29, 2025 · 2 revisions

Convert a Markdown file to HTML:

python md_to_html.py example.md example.html Include a CSS stylesheet:

python md_to_html.py example.md example.html --css style.css

Usage

# Usage

## Command-Line Options

- `input`: Path to the input Markdown file.
- `output`: Path to the output HTML file.
- `--css`: (Optional) Path to a CSS file to include in the HTML.

## Examples

Convert a Markdown file to HTML:
```bash
python md_to_html.py example.md example.html

Clone this wiki locally