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
Add build script
master
Dimitri Merejkowsky
6 years ago
parent
b684508a21
commit
ad2a73c988
1 changed files
with
12 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
sessions/build.sh
+ 12
- 0
sessions/build.sh
View File
@@ -0,0 +1,12 @@
#!/bin/zsh
set -e
if [[ -z $1 ]]; then
echo "Usage: build.sh INPUT.md"
exit 1
fi
out=${1:s/.md/.html}
darkslide --linenos=no $1 --destination ${out}