AoC'19 Puzzle Description HTML <article> Fragment to Markdown Converter

Convert AoC'19 Puzzle Description HTML fragments to Markdown.

Usage

Markdown output is written to stdout. Use shell redirection features to write or append the output to a file.

Markdown

bash aoc-puzzle-desc-md path/to/fragment.htm

or via cargo

bash cargo run --bin aoc-puzzle-desc-md -- path/to/fragment.htm

Markdown with Rust docstring prefixes on every line

bash aoc-puzzle-desc-md --docstring-format path/to/fragment.htm

or via cargo

bash cargo run --bin aoc-puzzle-desc-md -- --docstring-format path/to/fragment.htm