From 0cb8e9a9bb2c5be508b3f96f94192ae5f714aae0 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 26 Jul 2022 14:19:51 +0800 Subject: Update script about slide --- tools/markdown/reveal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/markdown/reveal b/tools/markdown/reveal index 4873517..17321d5 100755 --- a/tools/markdown/reveal +++ b/tools/markdown/reveal @@ -1,6 +1,6 @@ #! /bin/bash -if [[ ! $1 =~ '.md' ]]; then +if [[ ! $1 =~ (.md|.slide)$ ]]; then echo markdown file is not given >&2 exit 1 fi -- cgit v1.2.3-70-g09d2