We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a5c1db commit 08bcc12Copy full SHA for 08bcc12
.zshrc
@@ -13,6 +13,7 @@ function shell_has_started_interactively() { [ ! -z "$PROMPT" ]; }
13
function is_ssh_running() { [ ! -z "$SSH_CONECTION" ]; }
14
function chpwd () { ls -GF }
15
function mkdircd () { mkdir -p "$@" && builtin cd "$@" }
16
+function md2html () { pandoc "$1" -s --self-contained --template=github -c ~/.pandoc/templates/github.css -o "${1%.*}.html" }
17
18
# search src with fzf
19
fzf-src() {
init.sh
@@ -42,6 +42,9 @@ fi
42
ln -snf ~/dotfiles/colors ~/.vim/colors
43
ln -snf ~/dotfiles/.docker/config.json ~/.docker/config.json
44
45
+# pandoc
46
+mkdir -p ~/.pandoc
47
+ln -snf ~/dotfiles/templates/pandoc ~/.pandoc/templates
48
49
# bash git completion
50
0 commit comments