Commit Graph

46 Commits

Author SHA1 Message Date
Jonatan Heyman
a4c1ee980d Add Vue to supported languages list in README 2024-07-14 14:55:26 +02:00
Jonatan Heyman
6363422585
Merge branch 'main' into support-dart-syntax
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-07-14 12:51:14 +02:00
Jonatan Heyman
417394f059 Add link to documentation to the top of the Readme 2024-07-08 14:52:00 +02:00
Jonatan Heyman
d6420e65e8 Add links to documentation in Readme 2024-07-08 14:48:45 +02:00
Jonatan Heyman
478b78780d Add documentation, and update code that injects key bindings to also inject it into the docs 2024-07-08 14:00:18 +02:00
Donghee Lee
d943fc8015 Support Dart Syntax 2024-06-12 07:47:45 +02:00
Jonatan Heyman
78e2bb2ec3
Add link to website and logo
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-03-25 13:29:23 +01:00
Jonatan Heyman
5adbbc72ec
Add prev variable to Math blocks that holds the previous value (#156)
Moved documentation on Math blocks from the FAQ into it's own section in the Readme.
2024-01-11 21:28:11 +01:00
Jonatan Heyman
195a00a783 Add info on how to override format() in Math blocks 2024-01-10 18:05:31 +01:00
Noah Andrews
bb7c4168da
Explicitly document that Math blocks use math.js expressions (#143)
* Explicitly document that Math blocks use math.js expressions
* Links to general docs instead of reference docs
* Adds explicit link to docs about expression syntax
2024-01-07 01:09:09 +01:00
Jonatan Heyman
a94415ab65 Change order of key bindings in help text 2024-01-04 16:16:21 +01:00
Florian Labarre
d0d8f872a6
Add key bindings for inserting new blocks at the end/top of the buffer, as well as before the current block (#85)
* Add functionality to insert new block after the last block

- Update key bindings in `initial-content.ts` to include `Alt + Enter` for adding a new block after the last block.
- Implement `getLastNoteBlock` function in `block.js` to retrieve the last block in the note.
- Add `addNewBlockAfterLast` command in `commands.js` to handle the insertion of a new block after the last one.
- Integrate `addNewBlockAfterLast` command into the keymap in `keymap.js`.

* Add block insertion before/after current, before first and after last. Also, tests.

- Added `getFirstNoteBlock` in `block.js` for accessing the first text block.
- Implemented new functions in `commands.js` like `addNewBlockBeforeCurrent` and `addNewBlockBeforeFirst`.
- Updated `keymap.js` with new key bindings to facilitate block creation.
- Introduced `block-creation.spec.js` for testing the new block manipulation features.

* Fix visual bug when inserting new block at the top

* Update help text and Readme

* Fix wrong cursor position after inserting new blocks at the top of the buffer, when the previous first block's delimiter is long (e.g. Markdown)

* Make RegEx more generic

* Fix import

* Auto-generate the README.md and initial-content documentation

- Add a documentation generator
- Add an option to force the initial content to be erased with an env variable

* Add more specific tests

* Fix Mod key on Mac in test

---------

Co-authored-by: Jonatan Heyman <jonatan@heyman.info>
2024-01-04 16:11:26 +01:00
Hojun Lee
b80230454d
Add Groovy language support (#111) 2024-01-04 15:18:28 +01:00
Laeyoung
b0f3bdd19e
Add Swift and Kotlin language support #10 (#96)
* Add Swift language support

* Add Kotlin language support
2023-12-31 10:07:21 +01:00
Jonatan Heyman
fa643a46f4 Add info about running tests 2023-12-28 00:07:49 +01:00
Jonatan Heyman
713febbd40 More Readme formatting 2023-12-28 00:01:17 +01:00
Jonatan Heyman
7d59bffada Readme formatting to look better on mobile devices 2023-12-27 23:59:45 +01:00
Jonatan Heyman
ab3df60032 Readme formatting 2023-12-27 17:42:07 +01:00
Jonatan Heyman
56428fa2f9 Readme formatting:
Change list of supported languages to comma separated list in a code block, in order to save vertical space
2023-12-27 17:41:16 +01:00
Jonatan Heyman
1d2f1645f9 Add info about Math.js to the FAQ 2023-12-27 11:54:23 +01:00
Jonatan Heyman
eaccfd35da Add default keyboard shortcuts to Readme. Fixes #74 2023-12-27 00:34:54 +01:00
Jonatan Heyman
60caac45ab Add TOML support 2023-12-26 01:31:36 +01:00
Espen Jacobsson
475f3465fe
Add TypeScript, JSX and TSX language support (#64)
* Add language support for TypeScript

* Add formatter for TypeScript

* Add language autodetection for TypeScript

* Add TypeScript to list of featured languages

* Add language support for JSX and TSX

* Add JSX and TSX to list of featured languages

* Remove guesslang token from JSX and TSX

* Fix syntax error

---------

Co-authored-by: Jonatan Heyman <jonatan@heyman.info>
2023-12-26 00:47:28 +01:00
Jonatan Heyman
bb511b868b
Add support for more languages (#69)
* Contain language selection dialog in an element that can be scrolled, and automatically scroll it if needed when navigating the list with arrow keys

* Add support for more languages:

Clojure, Erlang, Golang, Lezer, Ruby, Shell, YAML

* Move prettier auto format settings for languages into Language() class

* Remove invalid import

* Fix bug that could cause auto formatting to fail for the last block.
Add tests for language auto detection and formatting.

* Fix broken tests

* Fix language auto detection on Safari Webkit which was broken

* Remove unnecessary wait time
2023-12-26 00:27:43 +01:00
Jonatan Heyman
6eda3efa63
Fix wrong badge URL 2023-12-25 23:48:33 +01:00
Jonatan Heyman
9d0d38194c Add Build status badge 2023-12-25 17:43:19 +01:00
Ahmed M. Atia
96440b28ba
Add syntax highlighting support for C# (#55)
* feat: add syntax highlighting support for C#

* update README - add C# sysntac highlighting support

* restore original indentation / formatting

* Fix syntax error in Lezer grammar

* Fix language auto detection of C#

---------

Co-authored-by: Jonatan Heyman <jonatan@heyman.info>
2023-12-24 10:59:24 +01:00
Jonatan Heyman
206abbc31c Change tense 2023-12-23 12:17:14 +01:00
Jonatan Heyman
b4953bf8a3 Fix links to Github issues 2023-12-23 12:16:30 +01:00
Jonatan Heyman
9290c8ef73 Add FAQ question on naming blocks/tags 2023-12-23 12:15:05 +01:00
Jonatan Heyman
0c88fbf242 Fix typo 2023-12-23 12:02:55 +01:00
Jonatan Heyman
6678c264d5 Add note about installation on Linux (ChromeOS)
Fixes #48.
2023-12-23 12:02:26 +01:00
Jonatan Heyman
6a5efea5c9 Add FAQ to Readme 2023-12-23 11:39:07 +01:00
Noah Andrews
a871291ec6
Remove reference to Linux support "coming soon" in the README (#18)
* Note that Linux support is now available in the README
2023-12-22 18:43:36 +01:00
Jonatan Heyman
0924a6dcd8 Add feature to Readme 2023-12-22 11:40:24 +01:00
Jonatan Heyman
ae1ee94ffb Update Readme 2023-12-22 11:36:04 +01:00
Jonatan Heyman
b85ea3023e Readme formatting 2023-12-07 19:43:32 +01:00
Jonatan Heyman
069e23e90d Minor README changes 2023-07-08 16:59:01 +02:00
Jonatan Heyman
0c567384ee Refresh Math blocks when new exchange rates are loaded 2023-07-04 14:01:59 +02:00
Jonatan Heyman
ab4506939a No need to state the obvious 2023-03-15 10:54:12 +01:00
Jonatan Heyman
e706676392 Add items to features list 2023-03-14 14:32:13 +01:00
Jonatan Heyman
b8c9f843be Add info about supported operating systems 2023-03-14 14:29:19 +01:00
Jonatan Heyman
51b48c1e4e Use latest SemVer version in shield 2023-03-14 14:24:35 +01:00
Jonatan Heyman
42aa926aca Fix shield/badge link 2023-03-14 14:22:38 +01:00
Jonatan Heyman
0c107ac7ef Add release badge to README 2023-03-14 14:17:29 +01:00
Jonatan Heyman
83aca2f63f Add README 2023-03-14 14:12:19 +01:00