Hacker News new | ask | show | jobs
by WillAdams 1052 days ago
It's an interesting idea --- fundamentally a typeset document is nothing but nested key value pairs where there are:

- tags/formatting large --> small, document --> paragraph --> character-level

- content which is tagged

I find that if one just finds all the "right" packages and uses appropriate markup it mostly "just works", if one then adds a pair of packages:

- one which defines all the additional markup beyond the initial author markup as empty commands

- a second which redefines all those commands to achieve the formatting