13 Commits

Author SHA1 Message Date
Eduardo Cuducos
74d6d19a30 Adds customization to the bottom metadata
Fix #87
2021-08-06 16:45:12 -04:00
Alexei Yuzhakov
9cf9e4f1fe Fix #18 Add live reload support 2021-06-19 15:17:51 -04:00
Britton Hayes
e21cc0c0b3 Allow user customization for slide themes
Closes #1.

This change allows users to add a configuration section to their slides,
which allows them to specify a different theme if they would like to
change the styles of the default theme.

A user can add
```
---
theme: ascii
---
```

To use an ascii theme or use `theme: ./styles.json` to specify their own
custom JSON theme using glamour styles.

Co-authored-by: Britton Hayes <brittonhayes@users.noreply.github.com>
2021-06-12 16:59:00 -04:00
Maas Lalani
58d4b020cc Read slides from stdin
Fixes #15

This change allows users to pipe in slides from `stdin` which allows for
`curl`ing remote slides and presenting them as well as piping multiple files
into one (with `cat`) and much more.

```
curl http://example.com/slides.md | slides
```

This change also maintains backwards compatibility with the current API which
allows for users to simply specify a file name. In the future, it would be nice
to remove that in favour of simply reading the file from stdin.

Like so:
```
slides < examples/slides.md
```
2021-06-09 09:46:29 -04:00
Alexei Yuzhakov
3126301d92 Fix #11 Correct date format 2021-06-08 22:25:17 +07:00
Christian Rocha
5e39ade142 Update deprecated method of entering the altscreen 2021-06-07 17:48:56 -04:00
Maas Lalani
93ccd2525f Internal API 2021-06-06 10:44:18 -04:00
Alexei Yuzhakov
0a15388517 Fix #5 Allow to use triple dashes as a slide separator 2021-06-06 14:58:18 +07:00
Maas Lalani
ffca7026ee moar 2021-05-05 21:27:31 -04:00
Maas Lalani
eceb2c4914 lil more error handling 2021-05-05 21:26:48 -04:00
Maas Lalani
44cfcf6ed3 Remove hardcoded values 2021-05-05 21:19:01 -04:00
Maas Lalani
39df02c1a2 Markdown 2021-04-04 23:06:58 -04:00
Maas Lalani
6fc439bd12 Initial commit 2021-04-04 22:39:27 -04:00