aboutsummaryrefslogtreecommitdiff
path: root/presinit
blob: 1325a359368e31b80f278c5fe534271fbbc86f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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"