Commit Graph

16 Commits

Author SHA1 Message Date
Jonatan Heyman
b26381164a Improve language auto detection
If content starts and ends with { & } or [ & ], we first try to parse is as JSON. If that succeeds, we'll assume it's JSON.

Increase the highlightjs relevance threshold. 

Hopefully this will result in fewer false positives that have been observed (e.g. for CSS and JSON).
2023-03-07 15:01:41 +01:00
Jonatan Heyman
93bf1e9036 Improve auto update
Add titles to status bar buttons
Bump version to 1.0.7
2023-03-07 01:45:23 +01:00
Jonatan Heyman
7ce91016d6 Add auto update support 2023-03-06 01:30:37 +01:00
Jonatan Heyman
e1fe26b881 Add format block button to status bar, when a supported block is active 2023-03-03 01:40:24 +01:00
Jonatan Heyman
4d12404d77 Add support for Math blocks 2023-03-02 18:40:44 +01:00
Jonatan Heyman
3357e81609 New greenish icon 2023-01-16 23:43:39 +01:00
Jonatan Heyman
8d8f6cdcb3 Add support for Rust, XML and C++
Remove Lezer support
2023-01-16 23:43:22 +01:00
Jonatan Heyman
0b34cc4dd3 Remove old test/template code 2023-01-16 16:32:48 +01:00
Jonatan Heyman
1f73950d8b Fix windows favicon and broken #windows-build 2023-01-16 16:08:39 +01:00
Jonatan Heyman
97995da5e1 Revert "Change icon on Windows"
This reverts commit b561c0184e.
2023-01-16 16:07:39 +01:00
Jonatan Heyman
b561c0184e Change icon on Windows
#windows-build
2023-01-16 15:53:57 +01:00
Jonatan Heyman
895bd4eccc Fix font path to (hopefully) work in release builds
#build
2023-01-15 20:06:57 +01:00
Jonatan Heyman
3b905951af Convert styles.css to SASS and include it by importing it in main.js.
Add fonts: Hack and Open Sans.
Change editor font to Hack.
2023-01-15 19:55:26 +01:00
Jonatan Heyman
d17bade1d6 Pixel push dark/light mode icons 2023-01-15 12:28:34 +01:00
Jonatan Heyman
2f842612fb Read dark/light mode from system, automatically listen for changes, and add button for toggling the mode to the status bar 2023-01-15 11:59:17 +01:00
Jonatan Heyman
9fb543fed3 Move contents of heynote-electron subdirectory into git repo root 2023-01-13 13:21:34 +01:00