Website Update
Published on May 29, 2024 at 1:13 PM
What's up! I've been polishing up this website for the past few days, and I'm excited to roll out a few small and big updates:
- Improvement in layout on smaller screens
- Minor changes in colors and backgrounds
- Image display within blog posts
- My favorite: addition of markdown to blog posts
This is the markdown editor.
- I can use numbered lists!
- See? I can add code:
import numpy as np
x = np.zeros((4, 4))
print(x)
And so much more! In future posts with bits of code integrated throughout, I'll definitely make heavy use of the Markdown editor rather than the standard "Body" editor provided by Sanity. In the meantime, my final steps with this site (for now) are to add LaTeX support and Incremental Static Regeneration (ISR). Right now, every time I publish, edit, or delete a post, I have to rebuild the site in Netlify. With ISR, the site will update itself without having to fully rebuild. My current workaround to this is having a Netlify webhook trigger each time I publish, but this wastes build minutes in my starter plan, so ISR will be a better method in the long-term.
Until next time!🚀