44 ms·
Whoa this is weird timing - just this weekend I did a little exploration of using Svelte to create documents and eventually PDFs. Its really just a proof of co
by dominicdoty 2y ago
Whoa this is weird timing - just this weekend I did a little exploration of using Svelte to create documents and eventually PDFs.
Its really just a proof of concept at this point, but it might be of interest to you (and others).
Code: https://github.com/dominicdoty/sveltedoc https://github.com/dominicdoty/sveltedoc
Rendered: https://sveltedoc.pages.dev/ https://sveltedoc.pages.dev/
Writeup: https://www.dominicdoty.com/2025/03/02/sveltedoc/ https://www.dominicdoty.com/2025/03/02/sveltedoc/
TLDR -
I've been using Asciidoc a lot at work recently and was dissatisfied with it. This was an attempt at using Svelte to generate a document as a webpage that formats well when printed (or printed to PDF). All the power of HTML+CSS+JS when you want it, but the ease of use to just write markdown when you don't.