presentation tool: add feature
presentation tool: add feature: a task in smol-software-harbor (Harbor dataset). Add a module slides/render.py with to html(slides) that turns the output of split slides into HTML: one <section per slide (sections joined by newlines); in the body, lines become <h1 , each run of consecutive - lines…
The task
Add a module `slides/render.py` with `to_html(slides)` that turns the output of `split_slides` into HTML: one `<section>` per slide (sections joined by newlines); in the body, `# ` lines become `<h1>`, each run of consecutive `- ` lines one `<ul>` of `<li>`, other non-empty lines `<p>` (text stripped); non-empty…
Part of efederici/smol-software-harbor.