mmap.page

My Obsidian Journal

I started using Obsidian in a somehow unusual use case: I want to browse my personal website (this site) on my phone.

I cloned the source repository of my website to my iCloud drive, then opened it in Obsidian iOS app as a vault. My modifications on the iPhone will be synced via iCloud to my Mac, then I will finish the changes, commit them, and push them to GitHub.

Markdown Extensions

Wiki Links

One thing I like about Obsidian is the wiki-link syntax. The bracketed link syntax reminds my good old days of using ikiwiki. The way Obsidian implemented it means I can link to any page with its name, regardless of which directory the page file locates in and what file extension the page file uses. And this inspires me to use this wiki-link syntax in my website. It turns out very easy since someone already wrote a remark plugin for Obsidian-style wiki-link syntax.

Highlighted Text and Callouts

Besides wiki-links, with this plugin, I also get callouts and highlighted text for free.

I seldom use highlighted text but I think it might be useful if I quote a large chunk of text and want to highlight some part of it. This ==highlighted text== syntax is not supported in GitHub Flavored Markdown (GFM) but it is supported in lowdown.

Two additional types of double-emphasis are the strike-through and highlight. These are produced by pairs of tilde and equal characters, respectively:

~~Kirk~~Picard is the best ==captain==.

The highlight variant may be enabled in lowdown(1) with highlight parsing enabled.

-- man 5 lowdown

As for callouts, I am not a fan of them. First, the Obsidian callout syntax is not compatible with GFM. Second, those callout types using English words such as "note" and "tip", while one thing I like about markdown is its syntax is language agnostic,

Organizing Notes

Tags

Obsidian supports two ways to tag a note:

  1. Just write #tag anywhere in the note text.

    That is similar to what people do in some social media like Twitter and Instagram.

  2. Use the tags field in the YAML front matter.

    This is also the way used in Lume.

Currently I am not using tags in this site. However, I do plan to use them in the future. Below are some initial thoughts: