Maas Lalani
99af53b01f
remove redundent ruby tests
v0.6.0
2021-10-21 20:41:02 -04:00
Maas Lalani
119fc4d814
Bump dependencies
2021-10-20 21:17:45 -04:00
Maas Lalani
df7d6b5622
Remove 'no windows support'
2021-10-20 20:55:45 -04:00
darmiel
5f76976a4a
fix: remove chmod +x <file>
2021-10-20 20:53:15 -04:00
darmiel
518028e6d3
refactor: only use multi, removed single and base
2021-10-20 20:53:15 -04:00
darmiel
e7fa9dad68
fix: broke ruby, oops!
2021-10-20 20:53:15 -04:00
darmiel
a065914f73
feat: multiple code execute commands; rust code support ( #104 )
2021-10-20 20:53:15 -04:00
Maas Lalani
99c32cc8fc
Clean up navigation
2021-10-10 17:36:33 -04:00
stoovon
d561ab99fc
Incorporate code review comments
...
- Remove redundant comment.
- Streamline "G" case.
- Streamline "ClearVirtualText".
- Include NumSlides within State for improved separation.
2021-10-10 17:16:37 -04:00
stoovon
5adcb09a14
Move tests
...
This completes the refactoring.
2021-10-10 17:16:37 -04:00
stoovon
2dd286e93f
Make Navigate a state function
...
This simplifies the contract for testing.
It's also more idiomatic functional programming.
Also rule of three (i.e. returning three arguments now, so better to return a type).
Moving tests in next commit. Again, demonstrating no gap in coverage.
2021-10-10 17:16:37 -04:00
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