From 862e27c9e40be18fb411193631828b101791943c Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Thu, 14 May 2015 20:57:01 -0700 Subject: add source code line numbers The way I handle line numbers and the pre block in general is inspired by the MDN wiki. See, for instance, https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript a screenshot is here: https://i.imgur.com/982TBDc.png Also tweaked other styles, e.g., changed the primary monospace font to Consolas, and slightly tweaked a few old posts. --- source/blog/2014-12-23-mpv-launcher.md | 8 ++++++-- source/blog/2015-02-24-the-new-onedrive-api.md | 2 +- source/blog/2015-04-26-using-python-3-with-emacs-jedi.md | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'source/blog') diff --git a/source/blog/2014-12-23-mpv-launcher.md b/source/blog/2014-12-23-mpv-launcher.md index bc4710e5..c8c2aee2 100644 --- a/source/blog/2014-12-23-mpv-launcher.md +++ b/source/blog/2014-12-23-mpv-launcher.md @@ -7,7 +7,9 @@ date-display: December 23, 2014 I just noticed that `daemonize` doesn't play too well with the OS; in particular, when you use dark menu bar on OS X Yosemite, apps launched with `daemonize` won't conform to that. So a native shell solution would be using `/bin/zsh` and run - mpv "$@" >/dev/null 2>&1 /dev/null 2>&1