stoovon
f31e238378
Refactor to extract navigation package
...
Introduce a clean separation of concerns between model and navigation.
Note that the tests are not moved in this commit, to prove no break in
functionality. They'll be moved in the next commit.
2021-10-10 17:16:37 -04:00
stoovon
b3dda422d0
Vim-like navigation
...
Supported sequence examples:
* G = go to last slide
* gg = go to first slide
* 4j = go forward 4 slides
* 13G = go to slide 13
Extracted navigateX methods to increase maintainability of
model.Update() given the additional functionality.
Closes https://github.com/maaslalani/slides/issues/96
2021-10-10 17:16:37 -04:00
Eduardo Cuducos
e4a3413409
Uses custom date format YYYY-MM-DD
...
Fix #106
2021-10-04 21:26:43 -04:00
dependabot[bot]
165c5aa514
Bump github.com/charmbracelet/lipgloss from 0.3.0 to 0.4.0
...
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases )
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-18 23:18:52 -04:00
dependabot[bot]
c84a4ee106
Bump github.com/charmbracelet/bubbles from 0.8.0 to 0.9.0
...
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases )
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-18 22:57:26 -04:00
Maas Lalani
4d826524e1
WithWordWrap
2021-09-18 21:18:10 -04:00
gsol10
dcf3c49fd6
Word wrap support
2021-09-18 21:18:10 -04:00
Maas Lalani
549c9e9828
Create dependabot.yml
2021-09-18 21:15:33 -04:00
Maas Lalani
3bd39616b2
var rename
2021-09-10 16:38:45 -04:00
林玮 (Jade Lin)
644ff86a6b
update unittest TestParse
2021-09-10 16:36:46 -04:00
林玮 (Jade Lin)
68adc0a622
be able to run multiple code blocks in a single slide
2021-09-10 16:36:46 -04:00
Rui Chen
4e3be668eb
Update x/sys to support go 1.17
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
v0.5.0
2021-08-22 05:35:48 -04:00
Rui Chen
affd02b103
build: bump to use go1.17
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-08-22 05:35:48 -04:00
R. Aidan Campbell
4008b02778
bump glamour to fix bug in orderedList
2021-08-12 04:08:06 -04:00
Maas Lalani
a714d9ad76
theme, author, date, paging information
2021-08-06 17:16:55 -04:00
Maas Lalani
0d703d353e
Update readme
2021-08-06 17:09:16 -04:00
Maas Lalani
0259a851ba
Update readme with metadata customizations
2021-08-06 16:57:05 -04:00
Maas Lalani
e1c248f8ca
example metadata slide
2021-08-06 16:45:12 -04:00
Maas Lalani
bf5f13f3b3
s/numbering/paging/g
2021-08-06 16:45:12 -04:00
Eduardo Cuducos
74d6d19a30
Adds customization to the bottom metadata
...
Fix #87
2021-08-06 16:45:12 -04:00
Eduardo Cuducos
45ea575822
Fixes metadata fallback strategy
2021-08-05 17:42:37 -04:00
Maas Lalani
1968b71eee
Bump: use bubbletea@master
2021-08-04 10:11:35 -04:00
Maas Lalani
2f93ce04f4
Bump: dependencies
...
go get -u && go mod tidy
2021-08-04 09:55:11 -04:00
Maas Lalani
93d51aa989
Document new key bindings
...
* `j` goes to the next slide
* `k` goes to the previous slide
2021-08-02 22:15:07 -04:00
Paul
caa98c45fd
ignore shebang
2021-08-02 18:53:08 -04:00
satoru
ad7fc7871c
Fix #73 , add support for fetching remote theme ( #85 )
...
* Fix #73 , add support for fetching remote theme
* Close file
* Fix texting in example
* Anything with the prefix http we should attempt to fetch
Co-authored-by: Buildkite <dev@flexport.com >
Co-authored-by: Maas Lalani <maaslalani0@gmail.com >
2021-07-23 10:08:45 -04:00
Maas Lalani
c1f6ab72e4
update deps
2021-07-16 15:04:27 -04:00
Maas Lalani
1c216211b0
remove frontmatter dep
2021-07-16 15:01:25 -04:00
Maas Lalani
982bc2725a
minor readme tweaks
2021-07-11 18:20:02 -04:00
Maas Lalani
9782dfd9a0
add code blocks execution to readme
2021-07-11 18:14:08 -04:00
Maas Lalani
03ed79bf57
fix: bug with preceeding --- and YAML comments as headers in markdown
2021-07-11 16:51:02 -04:00
Maas Lalani
095ea050e7
feat: Add lua language support for code blocks execution
2021-07-07 16:27:48 -04:00
Maas Lalani
45a0c6d6ee
AUR badge
2021-07-05 13:06:31 -04:00
Maas Lalani
7c98238705
Add integration tests for custom themes
v0.4.1
2021-07-05 11:48:34 -04:00
Iain Earl
49ef7d7cd4
Invert error handling for theme loading
2021-07-05 11:36:32 -04:00
Iain Earl
c184a8b27b
Add handling logic for custom theme files
2021-07-05 11:36:32 -04:00
Maas Lalani
5a8e991163
versions on the same line
2021-07-01 21:02:17 -04:00
Maas Lalani
a86cf85712
Ensure slides has at least some content to prevent crashing
2021-07-01 20:42:44 -04:00
Maas Lalani
65c13a5feb
Update examples/code_blocks.md
2021-06-30 17:29:42 -04:00
Kjell Kvinge
7ac31fc040
add perl code execution
2021-06-30 17:29:42 -04:00
Maas Lalani
9672d061b4
Delete codeql-analysis.yml
2021-06-28 13:08:33 -04:00
Friends A
7a42e45c1a
fix:link error in the website
...
I noticed that the following links on the page(https://maaslalani.com/slides/ ) are not accessible:
Checkout the [example slides](./example)
Check out the provided [theme.json](../../styles/theme.json) to use as a base for your custom theme.
2021-06-28 12:51:54 -04:00
Maas Lalani
f3004a14b0
Update README.md
2021-06-28 12:50:07 -04:00
Maas Lalani
6044c55172
Create codeql-analysis.yml
2021-06-27 22:26:33 -04:00
Mark Stenglein
de9baaf976
EXECUTE: TEST: Use more common sed instead of sd
...
This patch updates the `sd Find Replace` test case to make use of `sed`
instead of `sd`. This should help tests pass on a wider range of
systems without introducing a testing dependency.
2021-06-27 22:15:39 -04:00
Maas Lalani
742251d742
Ensure file is executable for preprocessing to work
v0.4.0
2021-06-27 21:02:01 -04:00
Maas Lalani
e7274f993e
Pre-process any commands
2021-06-27 21:02:01 -04:00
Maas Lalani
ee809ade8b
Add NixOS installation instructions
2021-06-27 13:35:36 -04:00
Maas Lalani
6d4f555579
Add node/js code execution
2021-06-27 10:20:45 -04:00
Maas Lalani
7b1b2cd894
Add pre-processing of slides
2021-06-25 22:28:48 -04:00