injuly
c6eea33300
Add haskell support to languages.go ( #299 )
2024-06-19 06:30:10 -04:00
César Enrique Ramírez
db69fde19b
add scala support using scala-cli ( #298 )
2024-06-04 10:04:10 -04:00
John Leeds
c18781bb27
Add support for OCaml ( #281 )
2024-02-27 09:08:27 -05:00
Swastik Baranwal
638d50082c
add vlang support ( #255 )
2023-07-12 13:04:18 -04:00
Rob Duarte
966e62c54c
Fixes maaslalani/slides#231 ( #246 )
2023-06-19 15:44:48 -04:00
Nathan Angelo Cruz
a0e5884ee5
Add dart support ( #236 )
2023-05-21 22:21:48 -04:00
Caleb Hunt
e516e929c2
Add fish support for code blocks ( #235 )
2023-05-16 10:47:06 -04:00
Uzair Ahmad
bc5fb8b40f
Bind N to navigate to previous slide ( #238 )
2023-04-20 23:49:36 -04:00
Maas Lalani
ebfd7d2d41
fix: textinput NewModel deprecation
2023-03-30 16:17:10 -04:00
Even Gabrielsen
15248d2023
Add support for ZSH ( #225 )
2023-03-30 16:14:16 -04:00
Even Gabrielsen
33fc1c0442
Add support for Swift ( #226 )
...
* Add support for Swift
* Add missing slide hline
2023-03-30 16:13:55 -04:00
Maas Lalani
bd5582c9ca
chore: bump dependencies
2023-03-12 21:08:38 -04:00
Kerdo Kurs
9e3e13ef3d
add support for executing C++ code ( #212 )
2023-03-01 12:19:34 -05:00
Brandon Barker
fbdd21edee
Add support for the Julia language ( #203 )
...
* feat: add Julia language support
* fix: indentation
Co-authored-by: Maas Lalani <maas@lalani.dev >
2022-12-10 17:10:09 -05:00
Maas Lalani
cc05efa4b8
fix: indentation problem within code blocks
2022-11-19 10:41:05 -05:00
Mahmoud Fathi
ebc2ab70bf
feat: add support for java code execution
...
As of Java 11 a single file can be launched without explicitly
compiling, packaging and running the file in different steps.
In other words single-file source-code programs can be executed
with "java Program.java", where "Program.java" is the name of
the file to be executed.
2022-09-04 16:25:09 -04:00
Maas Lalani
0572aaac99
fix: ioutil is deprecated
2022-09-01 12:14:50 -04:00
Maas Lalani
e5e3d0f2f7
feat: code comments to hide verbose code. ( #174 )
2022-07-16 12:35:53 -04:00
Maas Lalani
54b1f0a7b0
doc: add comments to top of public functions and variables
2022-07-04 13:56:33 -04:00
Maas Lalani
33b450d366
Feat: Yank Code Blocks ( #173 )
...
Co-authored-by: mellonnen <arvidgotthard98@gmail.com >
2022-07-03 18:14:18 -04:00
Maas Lalani
1e0c30098f
feat: ensure that date strings are not interpreted as January 2, 2006 formatted strings
2022-06-27 23:56:34 -04:00
Ivan Tse
93c0f899c4
Add ssh server functionality ( #150 )
...
* Add ssh server functionality via `wish` library
This adds a `-server` flag which will spin up an ssh server that
executes the slides bubbletea application upon each ssh session.
2022-04-13 13:07:06 -04:00
Maas Lalani
fb069210e1
fix: GLAMOUR_STYLE not GLAMOUR_THEME
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
Maas Lalani
5b74919376
Search Styles
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
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
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
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
2021-10-22 21:59:18 -04:00
Maas Lalani
99af53b01f
remove redundent ruby tests
2021-10-21 20:41:02 -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
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
3bd39616b2
var rename
2021-09-10 16:38:45 -04:00