7 ms·
Can confirm, this is an org file export. Much of the difficulty here was the hackery involved 'escaping' the restrictions of the generated HTML. For example, ta
by tecosaur 6y ago
Can confirm, this is an org file export. Much of the difficulty here was the hackery involved 'escaping' the restrictions of the generated HTML. For example, take a look at this: "margin-left: min(calc(0px - var(--body-left) - var(--body-padding)), calc(30rem - 50vw - 0.5var(--body-left) + 0.5var(--body-right)))". That took a while, and some head scratching :P
- githubalphapapa 6y agoThat's cool, but why are you calculating CSS attributes dynamically at export time instead of just writing a stylesheet and putting that in an export theme? Separating presentation from content, etc.
- tecosaur 6y agoErm, that is what's been done. Did I give a different impression?
- githubalphapapa 6y agoYou posted that code that seems to show calculating some CSS values dynamically.