In the beginning
There was light... this blog sheds light on my thoughts. Some things to expect from this blog are:
- random ideas
- thoughts about random tech
- tutorials on nifty web tech
What's powering this blog?
Obsidian is how I edit these posts. It's sort of like Notion (with slightly less features), but more importantly it stores content as markdown on your local machine, making it super portable. Using non proprietary files makes it super easy to access the raw content of your notes. Since it's just markdown under the hood, we can simply parse the content into HTML to display on the web.
How do you do it?
Well, I'd like to say it was as easy as dumping the content straight into a web page, but displaying raw markdown doesn't make for a great reading experience. To solve this, we use a markdown → HTML library called Remark. However, this doesn't handle some of the special markdown features implemented by Obsidian, to which I say: "custom plugins". I've extended the functionality of Remark to handle things like highlights and video embeds! (More on this in a future blog post)