Happy birthday Alice
Today our daughter Alice turns 12 years old. Happy birthday little princess!
Today our daughter Alice turns 12 years old. Happy birthday little princess!
The day pages of tumblelog now can have a title that can be defined via the Markdown input file by putting text behind the date. This update is available on GitHub. For more information please read SEO friendly titles for tumblelog.
Today I refactored some Emacs Lisp for additional font locks in Emacs. The Markdown file in which I enter blog entries looks now much better.
After some playing with font-lock in Emacs I was wondering how to
highlight the entire line when it just has a %
character on
it in Markdown mode. Entire line as in all other columns, with a
background color.
So I asked this question at the Emacs StackExchange and very soon got a helpful answer by Tobias which with some additional Googling led to the following solution:
(defface markdown-item-face
'((t (:background "#364e7a")))
"Used to highlight %")
(add-hook 'markdown-mode-hook
(lambda()
(highlight-regexp
"^%\n"
'markdown-item-face)))
Now my blog posts in Emacs are separated by blue bars: