Markdown files without metadata (for blogging)
I've stumbled upon this post by Jim Nielsen:
It describes how he went from Markdown files with metadata as YAML frontmatter:
--- title: My Blog Post tags: - html - css --- Start my blog post here.
... to just Markdown:
#html #css # My Blog Post Start my blog post here.
Jim's trick is to put the "slug" (i.e. the unique identifier that determines the URL of the published piece, which in the case of
example.com/posts/my-amazing-post/ is the
my-amazing-post part) into the filename. His filenames are of the format
<YYYY-MM-DD>-<url-slug>.md, so starting with an ISO date, then the URL "path".
Making blogging simpler this way reminds me of how the way Sascha's and my Zettel format changed over the years, and how Sascha's very minimal solution eventually came about and sticks around since then:
# <ID> <TITLE> <tags> <content>
Very similar approach: make it pleasant for the human, let the app do the work. Avoid ceremony and technobabble.
I'd argue that Jim Nielsen's approach of putting hashtags before the title can worsen interoperability with applications that treat the first line of a file as the title -- but while that behavior is popular in a niche of plain text note-taking apps, it never really became a mainstream expectation, so 🤷♂️
Author at Zettelkasten.de • https://christiantietze.de/
It looks like you're new here. If you want to get involved, click one of these buttons!