Markdown Note
By Anak Wannaphaschaiyong
Blog blog
X implementation where X = “markdown-preview” in Emacs implementation
markdown-preview
pass HTML file to browse-url
browse-url
has the following algorithm
- prepare argument to use with specify url
- check for “url handle” (which is prefix to url e.g.
file:
) - expand file name according to “url handle”
- find suitable function to browse url
- setup environment variable for display e.g.
DISPLAY
andWAYLAND_DISPLAY
- apply function with argument