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

Crates.io

Convert AoC'19 Puzzle Description HTML fragments to Markdown.

See also: Advent of Code 2019 Solutions.

Usage

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

Output plain Markdown

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

or via cargo

bash cargo run -- path/to/fragment.htm

Output 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 -- --docstring-format path/to/fragment.htm