Replace PDFs with markdown-rendered pages#184
Conversation
this way, in particular, we do not need to escape backslashes anymore.
…lete rendered pdf
…le, delete rendered pdf
ef3625c to
bf39d24
Compare
|
@varkor Can you maybe help me with a commutative diagram here? I am currently migrating the tex files to markdown files. This went smooth so far, but the diagram on https://catdat.app/pdf/walking_parallel_pair_sifted_colimit.pdf is a bit challenging. I found that I can create a svg by using the tool This looks nice so far. And it is fully responsive. But only in light mode. To support dark mode, I tried to use CSS variables in the SVG file, but they seem to be scoped to the SVG. Also when I add global styles in the page, they don't seem to get to the SVG. So I can either support light mode or dark mode. See the last two commits for details (bf39d24 and 91dfe67), and in particular the raw file Of course I looked at solutions online. But I cannot use a media query alone since the theme can be changed by the user. I tried EDIT. ok when I inline the svg file directly into the markdown file, it works with currentColor. But this is an awful lot of code where it should not be. |

Long proofs were previously provided as PDFs, along with their source files, and treated as static assets. In this PR, TeX files are replaced with Markdown files. PDF files are removed and replaced with Markdown-rendered content pages available under
/content/[id].The set-theoretic foundations page (which was already rendered from Markdown) is now also integrated into this system, and its route has been changed from
/foundationsto/content/foundations.Advantages
Advantages of Markdown-rendered content pages over PDF files:
Screenshots
Dark Mode + Mobile
Light Mode + Desktop
Plan
I plan to also replace lemmas with that system.