#markdown-converter #advent-of-code #aoc #aoc2019 #programming-puzzles

app aoc-puzzle-desc-md

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

5 releases (breaking)

0.10.0 Oct 25, 2023
0.9.0 Jan 11, 2020
0.8.0 Jan 10, 2020
0.7.0 Jan 9, 2020
0.0.0 Dec 30, 2019

#113 in Science

ISC license

24KB
417 lines

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

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

or via cargo

cargo run -- path/to/fragment.htm

Output Markdown with Rust docstring prefixes on every line

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

or via cargo

cargo run -- --docstring-format path/to/fragment.htm

Dependencies

~2.6–3.5MB
~63K SLoC