aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-07-26 11:28:05 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-07-26 11:28:05 +0800
commitcf91538b181ae7c31bef9124a75039ff05ef0ed3 (patch)
tree49c79e0e324ddb8335fdfb806796af395fd5f3df /tools
parent54e1962e2622c087d85e5f933905081833c8bcf9 (diff)
Update
Diffstat (limited to 'tools')
-rwxr-xr-xtools/markdown/reveal5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/markdown/reveal b/tools/markdown/reveal
index f0d374b..4873517 100755
--- a/tools/markdown/reveal
+++ b/tools/markdown/reveal
@@ -1,5 +1,10 @@
1#! /bin/bash 1#! /bin/bash
2 2
3if [[ ! $1 =~ '.md' ]]; then
4 echo markdown file is not given >&2
5 exit 1
6fi
7
3# Available themes: 8# Available themes:
4# beige black blood league moon night serif simple sky solarized white 9# beige black blood league moon night serif simple sky solarized white
5THEME=${THEME:-serif} 10THEME=${THEME:-serif}