How this website was made :P
Technologies
- Astro
-
a javascript framework for building web applications with less code and better performance
-
- Starlight
-
a full-featured documentation theme built on top of the Astro framework
-
I use markdown (.md) and MDX (.mdx) to write the content of the website.
MDX can be extended with React components, which is useful for adding math and other interactive elements, and plugins.
The table of contents of every page is automatically generated when using starlight and the # markdown syntax. But it could have also been done using a plugin (remark-toc).
The math, which is written in LaTeX, is also rendered using plugins using remark-math and rehype-katex.
Useful
- Finding and replacing md png paths
- Used for moving pngs’ directories
\((\S+).png\)->
Resources
- https://jordemort.dev/blog/remark-all-the-things/
- https://kroki.io/
- https://www.npmjs.com/package/rehype-accessible-emojis