Maas Lalani
fb069210e1
fix: GLAMOUR_STYLE not GLAMOUR_THEME
v0.8.0
2022-04-04 12:33:35 -04:00
Maas Lalani
ba6d160fa2
feat: slides tutorial
2022-03-24 00:14:38 -04:00
Maas Lalani
8d13e1e3fd
feat: respect GLAMOUR_THEME if exists
2022-03-23 23:55:41 -04:00
Maas Lalani
e624c55eb1
fix: do not get stderr when preprocessing slides
2022-03-22 18:39:15 -04:00
dependabot[bot]
7cdbe2f2bf
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-17 22:40:29 -04:00
Maas Lalani
5e351ae422
Update go modules
2022-02-25 01:00:11 -05:00
dependabot[bot]
83d05d6a29
Bump github.com/charmbracelet/bubbles from 0.10.2 to 0.10.3
...
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/charmbracelet/bubbles/releases )
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.10.2...v0.10.3 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-20 16:18:39 -05:00
dependabot[bot]
cd5ebfdd30
Bump github.com/charmbracelet/bubbletea from 0.19.3 to 0.20.0
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 0.19.3 to 0.20.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.19.3...v0.20.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-16 11:22:11 -05:00
dependabot[bot]
6232c1b6ca
Bump github.com/charmbracelet/lipgloss from 0.4.0 to 0.5.0
...
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases )
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.4.0...v0.5.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 >
v0.7.3
2022-02-15 13:05:56 -05:00
dependabot[bot]
66e87f6207
Bump github.com/muesli/termenv from 0.9.0 to 0.11.0
...
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv ) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/muesli/termenv/releases )
- [Commits](https://github.com/muesli/termenv/compare/v0.9.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-05 22:06:17 -05:00
dependabot[bot]
541979777d
Bump github.com/charmbracelet/glamour from 0.4.0 to 0.5.0
...
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases )
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-30 20:51:46 -05:00
dependabot[bot]
9ab187706d
Bump github.com/charmbracelet/bubbles from 0.10.0 to 0.10.2
...
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles ) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/charmbracelet/bubbles/releases )
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.10.0...v0.10.2 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-23 14:33:41 -05:00
Maas Lalani
a10707b2db
Note % edge case in documentation
2022-01-19 20:33:20 -05:00
dependabot[bot]
83c1ace117
Bump github.com/charmbracelet/glamour from 0.3.0 to 0.4.0
...
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases )
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-17 13:38:35 -05:00
dependabot[bot]
fa231a6f05
Bump github.com/charmbracelet/bubbles from 0.9.0 to 0.10.0
...
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases )
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.9.0...v0.10.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 >
2022-01-17 13:36:39 -05:00
dependabot[bot]
7ec4238a57
Bump github.com/charmbracelet/bubbletea from 0.19.1 to 0.19.2
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 0.19.1 to 0.19.2.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.19.1...v0.19.2 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-20 10:10:22 -05:00
dependabot[bot]
c21bbba9c8
Bump github.com/charmbracelet/bubbletea from 0.19.0 to 0.19.1
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.19.0...v0.19.1 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-08 09:30:26 -05:00
Maas Lalani
81fbe81825
Update microcosm-cc/bluemonday dependency
2021-11-02 22:24:53 -04:00
Maas Lalani
1d0f56320c
We don't _really_ need cobra
2021-11-02 22:23:20 -04:00
Maas Lalani
5b74919376
Search Styles
v0.7.2
2021-11-01 14:28:05 -04:00
darmiel
19a4af4a9a
test: fixed TestSearch
2021-11-01 14:28:05 -04:00
darmiel
38f6c858ee
feat: use bubbles#TextInput
2021-11-01 14:28:05 -04:00
Maas Lalani
8e3bd520fe
Clear VirtualText inside SetPage
v0.7.1
2021-11-01 11:38:27 -04:00
Maas Lalani
cce6980f62
Use exit code from command if exists
2021-11-01 11:38:27 -04:00
dependabot[bot]
76e2720dda
Bump github.com/charmbracelet/bubbletea from 0.18.0 to 0.19.0
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-01 11:25:45 -04:00
Maas Lalani
e668f31f0d
Page Up / Page Down documentation update
2021-10-30 14:03:58 -04:00
Janszczyrek
6297d57984
Added Page Up and Page Down navigation ( #115 )
...
* Added `Page Up` and `Page Down` navigation
2021-10-30 14:03:04 -04:00
Maas Lalani
acc4e08881
Fix: bug where old file name would be reused
...
There was a bug where the command would reference an old file name which would be deleted which meant that the code block would not execute on future executions and only work the first time.
2021-10-29 16:57:48 -04:00
dependabot[bot]
e4ae7004a5
Bump github.com/charmbracelet/bubbletea from 0.17.0 to 0.18.0
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
v0.7.0
2021-10-29 14:46:14 -04:00
Daniel
ac106d1060
Vim-like search functionality ( #112 )
...
* feat: basic command system
* feat: implemented forward search, backward search and `:<slide>`-command
* fix: golint
* fix: removed `fmt.Sprintf`
* fix: proper args splitting, added `goto` example
* refactor: less verbose output, removed `goto`-example
* fix: ignore empty commands
* refactor: remove `:`-commands, moved `search` to `navigation` package
* feat: implemented different search-types: header-search, full-text search (case sensitive, insensitive and regex)
* feat: go to next occurrence with `ctrl+n`
* fix: regex search
* docs: added search instructions
* refactor: removed search types, style changes
* docs: update README.md
* docs: update README.md
* refactor: `GetSlides()` -> `Pages()`, `Buffer` -> `Query`
* feat: use `tea.KeyRunes` to allow international characters (such as `ä` or `動`)
* test: added test for search
* test: added ignore-case flag test
2021-10-27 12:29:20 -04:00
Maas Lalani
4dd723db31
Remove some language tests to remove build dependencies on NixOS
v0.6.2
2021-10-22 21:59:18 -04:00
Maas Lalani
7f589d02f7
Remove install from makefile
v0.6.1
2021-10-21 21:01:07 -04:00
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