Writing a flexmark Extension in Clojure

Writing wiki pages using Markdown is a great way to do things because it is simple, well-known, and capable. One of the annoyances of using Markdown is that it has no default syntax to create wikilinks, a type of hyperlink that links one page in a wiki to another. I’ve been working on a home-grown, personal wiki, CWiki, for almost a year now off and on. It’s written in the Clojure programming language, which is a pleasure to use.

Getting Images to Load and Preview in Hexo

As part of the work of transferring old blog posts from other systems (mostly WordPress) to Hexo, I hit a bump when trying to use images in the new posts. There are basically two recommended ways to access images in Hexo. Put a new sub-directory, say images in your Hexo source directory. Put your images in your new directory. In your posts, use the usual Markdown method of linking to images, that is something like !