23 lines
240 B
Plaintext
Executable File
23 lines
240 B
Plaintext
Executable File
# init a presentation .md
|
|
|
|
if [ -z $1 ]; then
|
|
echo "needs name"
|
|
exit 1
|
|
fi
|
|
|
|
read -p "Title? " title
|
|
read -p "Author? " author
|
|
|
|
echo "\
|
|
---
|
|
title: $title
|
|
author: $author
|
|
colortheme: magpie
|
|
---
|
|
|
|
# First slide
|
|
|
|
Foobar
|
|
" > "$1"
|
|
|
|
$EDITOR "$1" |