This website works better with JavaScript.
Home
Explore
Help
Sign In
E2L_Ivry
/
cours-python
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
build.sh: take session number instead of md path
master
Dimitri Merejkowsky
6 years ago
parent
78f86dbe84
commit
0c86e57ca3
1 changed files
with
2 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-3
sessions/build.sh
+ 2
- 3
sessions/build.sh
View File
@@ -3,10 +3,9 @@
set -e
if [[ -z $1 ]]; then
echo "Usage: build.sh
INPUT.md
"
echo "Usage: build.sh
NUMBER
"
exit 1
fi
out=${1:s/.md/.html}
darkslide --linenos=no $1 --destination ${out}
darkslide --linenos=no "${1}.md" --destination "${1}.html"