diff --git a/src/blog/posts/2024/1/detecting-markdown-titles-eleventy.md b/src/blog/posts/2024/1/detecting-markdown-titles-eleventy.md index 3e4126e..d3b8320 100644 --- a/src/blog/posts/2024/1/detecting-markdown-titles-eleventy.md +++ b/src/blog/posts/2024/1/detecting-markdown-titles-eleventy.md @@ -11,6 +11,7 @@ I use [Obsidian](https://obsidian.md) for note-taking, and I'd love to publish t The main blocker is that Obsidian uses file slug/Markdown titles, whereas Eleventy requires the `title` to be set in frontmatter. Obsidian supports adding frontmatter, but it feels weird to have the title set in 2 different places. So here's a quick solution that parses titles out of the document body, and then uses it as the entry title. ```js +--- ---js { eleventyComputed: {