I use Obsidian as my primary note-taking application, and I think its great.
But one day while I was gazing up into the sky, I wondered… could I turn my notes into blog posts? And could I publish my notes to various blogging platforms without having to change the way that I took notes in Obisidan?
Obsidian do offer a publishing service, but it’s expensive, and why pay for something easy, when I can embark of months of personal toil trying to do the same thing for free?
And so began my journey to write my own plugins to do make this possible.
You can host your own blog on Github Pages for free. Github Pages has native support for Jekyll, a powerful blogging platform which can build a static HTML site for you… as long as you follow the rules.
I initially started with a simple bash script, which as part of a post-commit build pipeline, would made some modifications to my posts to make them Jekyll friendly.
I had many challenges:
The script that I wrote is here. It’s currently very ugly, but becoming more beautiful every day.
I think I should continue to write my blog in obsidian, but have different plugins (scripts) for converting them to the target platform
To solve the broken links problem, I did try this, but it doesn’t work: https://github.com/benbalter/jekyll-relative-links
https://github.com/kmaasrud/oboe
https://github.com/srid/neuron/