Commit Graph

174 Commits

Author SHA1 Message Date
Maas Lalani
2162d507b3 doc: code execution 2021-06-21 16:59:11 -04:00
Maas Lalani
f6fecdc435 code exec on ctrl+e v0.3.0 2021-06-21 16:52:43 -04:00
Maas Lalani
eae6b6ffcd feat: execute code on slides 2021-06-21 16:52:43 -04:00
Paran Lee
eb132e82fc install required directory is not in a module
go install needed "@latest"
required when current directory is not in a module.
2021-06-20 08:31:56 -04:00
Maas Lalani
851b00616c Theme customization in README 2021-06-19 16:12:17 -04:00
Maas Lalani
d7b5266f47 Terminal frame 2021-06-19 16:06:45 -04:00
Maas Lalani
272a126085 Add header image 2021-06-19 15:39:45 -04:00
Maas Lalani
adad4871e5 Update README.md 2021-06-19 15:19:44 -04:00
Alexei Yuzhakov
9cf9e4f1fe Fix #18 Add live reload support 2021-06-19 15:17:51 -04:00
rui
822ce637bd doc: add homebrew release badge 2021-06-13 12:39:40 -04:00
Maas Lalani
0d8f97bc7e Run gorelease only on new tags 2021-06-13 12:15:41 -04:00
Maas Lalani
be0a54a1a6 Execute code block for supported languages (bash,go,ruby,python) v0.2.0 2021-06-13 11:13:09 -04:00
Maas Lalani
2a4ea2ed9d Add code package with Parse function (with tests) 2021-06-12 23:05:13 -04:00
Britton Hayes
631057b5cb Added light mode support and support for EnvNoColor 2021-06-12 18:22:24 -04:00
Maas Lalani
cb2c4ba2aa fix: go fmt 2021-06-12 17:54:24 -04:00
Maas Lalani
38fc691874 Add codebase docs 2021-06-12 17:54:03 -04:00
Maas Lalani
32767e3097 Add development docs 2021-06-12 17:44:46 -04:00
Maas Lalani
e991d5b844 Add configuration docs 2021-06-12 17:44:36 -04:00
Maas Lalani
e59d69ad73 Update slides.md 2021-06-12 16:59:42 -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
7ec32cf397 Update width 2021-06-12 16:31:29 -04:00
Maas Lalani
944cc7a27f Add demo.gif 2021-06-12 16:30:43 -04:00
Maas Lalani
b53d6ce13d Demo update 2021-06-12 16:25:34 -04:00
Maas Lalani
5d87d2a28a Update example/slides.md 2021-06-12 16:18:53 -04:00
Maas Lalani
d9fef570d8 Don't word wrap 2021-06-12 16:17:46 -04:00
Maas Lalani
6d6a55c345 package managers 2021-06-12 15:37:29 -04:00
Maas Lalani
1f51432ccf Demonstrate graphs 2021-06-12 15:19:09 -04:00
Maas Lalani
8b05591e3b README.md updates 2021-06-12 14:57:25 -04:00
Maas Lalani
346bd7668a Merge pull request #21 from brittonhayes/bhayes/github-action-test 2021-06-10 23:44:53 -04:00
Britton Hayes
c2c830114a Added linter action and test action 2021-06-10 20:39:49 -07:00
Maas Lalani
42c7a73360 Merge pull request #17 from maaslalani/stdin
Read slides from stdin
v0.1.2
2021-06-09 09:56:57 -04:00
Maas Lalani
3da723872f Documentation: stdin and curling remote slides 2021-06-09 09:46:58 -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
Maas Lalani
f68b80220b Use chroma theme: dracula
Rather than defining all of the colours ourselves, we can simply choose
a theme that is supported by `chroma`.
2021-06-08 23:56:09 -04:00
Maas Lalani
5d89bf2551 Fix #14: go vet ./... Redefinition
JoinVertical was being redefined due to `lipgloss` being dot-imported.
Changes to explicitly import `lipgloss` and keep all functions scoped
correctly.
2021-06-08 22:27:37 -04:00
Maas Lalani
906add18b0 Merge pull request #12 from sibprogrammer/bugfix-modification-date-format 2021-06-08 17:10:50 -04:00
Alexei Yuzhakov
3126301d92 Fix #11 Correct date format 2021-06-08 22:25:17 +07:00
Maas Lalani
0e97b0ac0d Merge pull request #10 from meowgorithm/bump-libs
Bump Charm libraries and update deprecated method
v0.1.1
2021-06-07 18:10:32 -04:00
Christian Rocha
5e39ade142 Update deprecated method of entering the altscreen 2021-06-07 17:48:56 -04:00
Christian Rocha
e90da58b20 Update bubbletea/bubbles/glamour/lipgloss dependencies 2021-06-07 17:46:48 -04:00
Maas Lalani
6672f28091 Update README.md 2021-06-06 10:56:21 -04:00
Maas Lalani
93ccd2525f Internal API 2021-06-06 10:44:18 -04:00
Maas Lalani
22b6fa2935 go 1.16 v0.1.0 2021-06-06 10:32:03 -04:00
Maas Lalani
6699e8a652 Create goreleaser.yml 2021-06-06 10:30:48 -04:00
Maas Lalani
95634ae2f1 Merge pull request #6 from sibprogrammer/bugfix-slide-separator 2021-06-06 09:18:13 -04:00
Maas Lalani
2489fac218 Merge pull request #8 from sibprogrammer/bugfix-slide-numbers 2021-06-06 09:13:35 -04:00
Maas Lalani
4e94e57ced Merge pull request #4 from sibprogrammer/bugfix-makefile-errors 2021-06-06 09:10:37 -04:00
Alexei Yuzhakov
a108f30054 Fix #7 Display the correct number of slides and current one 2021-06-06 15:13:35 +07:00
Alexei Yuzhakov
0a15388517 Fix #5 Allow to use triple dashes as a slide separator 2021-06-06 14:58:18 +07:00
Alexei Yuzhakov
adb8dba925 Fix Makefile errors 2021-06-06 14:01:55 +07:00