Skip to content

Commit

Permalink
old pandoc not fallback to data dir if is absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Jun 23, 2022
1 parent 9dc7390 commit 7a04ff9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion revealjs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

TEMPLATE="$(dirname $(realpath $0))/template.html"
TEMPLATE="$(dirname $(realpath --relative-to=. $0))/template.html"
MD=$1
REVEALJS="https://cdn.bootcdn.net/ajax/libs/reveal.js/4.3.1"

Expand Down Expand Up @@ -37,3 +37,4 @@ CMD=(
)

eval "${CMD[@]}"
# echo "${CMD[@]}"

0 comments on commit 7a04ff9

Please sign in to comment.