This is a work in progress site where I intend to upload miscallaneous projects, mostly related to math, data, AI types of stuff.
I write markdown files and convert them to HTML with convert.py
and plop that into a basic template HTML page.
- Base/Template HTML
- I then use Python Markdown to convert my Markdown files into HTML
- I use the Fenced Code Blocks extension so I can use triple tick code blocks that are much preferable in my opinion to indentation based code blocks
- And I use the CodeHilite extension to add code/syntax highlighting
- The HTML generated from Python Markdown is then plopped into my base HTML page using jinja2
- Frankly, using jinja is a bit overkill for now since I'm currently only plopping the body HTML into the base but it may be nice to better utilize in the future