My Obsidian style links worked for the most part - with two exceptions.
- If there was a "-" in my title, the links were borked.
- If I tried to use a link alias, the links were totally wrong because they were not properly converted to lower case.
To fix these two issues, I added a bit of logic in my customPagePathGenerator function to remove any "-" in the path and replace them with a single space.
My Obsidian style links worked for the most part - with two exceptions.
- If there was a "-" in my title, the links were borked.
- If I tried to use a link alias, the links were totally wrong because they were not properly converted to lower case.
To fix these two issues, I added a bit of logic in my customPagePathGenerator function to remove any "-" in the path and replace them with a single space.
In Eleventy, I use Nunjucks shortcodes to interface with the image plugin. But, I don't want to use the shortcodes within Obsidian - I want images visible there as well. So, I wrote some basic code that runs in the pre-build stage to convert Obsidian images in their usual format to a Nunjucks shortcode that looks like:
This morning, I took inspiration from Rach Smith's Digital Garden , and decided to see if I could also style just my external links - with a catch. I'd like to try to do it on my own and not with an eleventy plugin.
Eleventy version: @11ty/eleventy@2.0.1
In my previous note, I mentioned I would like to just be able to create a markdown file with a decent, meaningful title and have eleventy create the folder and index file for me. Well, apparently, it can do just that. The things you learn when you read the documentation