math got a lot of small fixes — $$ … = … $$ no longer eaten as a setext heading, tall brackets stack in the right order for big matrices, long equations scale to fit. and headings drag their first line across page breaks so they don't strand alone at the bottom.
https://t.co/WhcTZb9T3l
released markdown2pdf 1.5.0.
you can now do multi-column pdfs — `[page] columns = N`, up to 4. default stays single-column and byte-identical to before, so nothing you already render changes.
rest of it is a pile of layout fixes i kept tripping over. thread.
tables now tokenise right inside list items, blockquotes and admonitions instead of leaking literal pipes. definition lists capture indented continuations and re-lex properly. inline html renders semantically now.
@RhysSullivan The $2500 MacBook Pro I bought in 2012 that I used to write every single hashicorp 0.1 release. Arguably turned that $2500 plus some internet into like a billion dollars. Good trade.
released markdown2pdf 1.4.0.
fallback fonts so mixed-script text actually renders, auto config
discovery, and a pile of style fields that were quietly being dropped now work. also killed the bug where link underlines landed beside their text instead of under it.
https://t.co/WhcTZb9T3l
markdown2pdf v1.3.0 is out
added admonition boxes — both the mkdocs `!!! note` style and github's `> [!WARNING]` alerts work now. also merged table cells with `>` and `^` span markers, and inline html like `<a>`, `<div>`, `<section>` actually renders instead of leaking through as raw tags
markdown2pdf v1.2.0 is out with latex math support
you can write `$x^2$` or `$$\sum$$` in your markdown and it'll actually render now. built a small tex engine in-tree for it — handles fractions, matrices, big operators, growing delimiters and the usual mathbb/cal/frak alphabets
there will be a moment when it's 3am, you're at the balcony, it rained a little bit few hours ago and now the wind is slightly blowing. you're just sitting and staring at the sky, wondering about life — then something hits you and you feel so empty compared to the world, like a speck of dust against the universe.
that's one of the most wonderful moments of life. not bothered by the constant voices — society, everything around — it all goes on without you. just enjoy it. you have two days to rest. monday is coming and you have to go to work.
shipped markdown2pdf 1.0.0 today.
killed the genpdfi dependency, rewrote the renderer from scratch. handles pretty much all of markdown now — tables, footnotes, task lists, images, inline html, cross-refs, the whole thing. toml config with 6 themes, frontmatter, auto toc and more.
if you used 0.x.x the api changed, sorry.