Commit graph

391 commits

Author SHA1 Message Date
BearToCode
c9be45a1ee fix(plugin-math): invalid version 2024-04-12 16:02:45 +02:00
BearToCode
c4428b8150 docs: fix relative links 2024-04-12 16:00:39 +02:00
Davide
036af273f9
v4 (#46) 2024-04-12 15:55:06 +02:00
BearToCode
58a7a8848f chore: migrate plugin-attachment 2024-04-12 08:29:41 +02:00
BearToCode
255913bd35 docs: minor fixes 2024-04-12 08:24:47 +02:00
BearToCode
e175e87bcc style: fix formatting 2024-04-12 08:24:46 +02:00
BearToCode
7e4a387523 docs: update docs, add migration guide 2024-04-12 08:24:46 +02:00
BearToCode
342c8d24d0 feat: use unified+rehype for parsing markdown
`marked` has been replaced with a more modern setup involving Unified JS, Rehype and various
plugins.

BREAKING CHANGE: Replaced `marked` with `unified` and `rehype`
2024-04-12 08:24:46 +02:00
BearToCode
9e1b0d1850 docs: update README 2024-04-12 08:24:46 +02:00
BearToCode
b30b2af6d9 fix: default theme placeholder color 2024-04-12 08:24:46 +02:00
BearToCode
c6a81acedd fix: default theme caret color 2024-04-12 08:24:46 +02:00
BearToCode
d1590ea384 build: move plugins peer-deps to v4 2024-04-12 08:24:46 +02:00
BearToCode
24be57a10f refactor: require explicit disabling of sanitizer
BREAKING CHANGE: Require `sanitizer` to be provided in the options. To disable it, set it explicitly
to `false`.
2024-04-12 08:24:46 +02:00
BearToCode
eb647b416f refactor: do not store options inside Carta
BREAKING CHANGE: Remove `Carta.options`. Update API
2024-04-12 08:24:46 +02:00
BearToCode
ae15b5b590 feat: use shiki for syntax highlighting
Remove Speed-Syntax Highlight, as the newer versions stopped working, and use ShikiJS instead. Also
has better syntax and more languages supported.

BREAKING CHANGE: Replace SHJ with ShikiJS, removed old themes and added new ones.
2024-04-12 08:24:46 +02:00
BearToCode
6e9cb68141 wip: use shiki for highlighting 2024-04-12 08:24:45 +02:00
BearToCode
f0abf195b8 refactor: remove verbose prefixes
Remove "Carta" prefixes from various interface/components.

BREAKING CHANGE: Different objects have been renamed
2024-04-12 08:24:37 +02:00
Davide
8f4188936e
feat(plugin-attachment): add file pasting functionality (#47) 2024-04-12 07:48:03 +02:00
ev
bed8ba5d47 feat(plugin-attachment): add file pasting functionality
allows pasting of files using a paste listener similar to github's readme editor

re #45
2024-04-12 01:28:54 +01:00
BearToCode
b7fecea206 fix: update katex to latest version 2024-03-28 20:31:16 +01:00
BearToCode
aeac8073b3 fix: icons oveflows 2024-03-19 18:37:42 +01:00
BearToCode
e430bf035a feat: add icons menu
Add a collapsable icons menu to the toolbar

fix #42
2024-03-19 15:16:54 +01:00
BearToCode
f0aaaed536 ci: remove signatures audit step
The step is currently failing due to vite 5.1.6 invalid signatures
2024-03-19 14:50:47 +01:00
BearToCode
3e8e7417d4 build: update dev dependencies 2024-03-18 19:41:22 +01:00
BearToCode
a36b57f0c4 docs: fix labels in wrong section 2024-03-06 19:00:51 +01:00
BearToCode
46a58adbec docs: update sanitizer example 2024-03-05 14:28:53 +01:00
Davide
b0deb50a25
docs: add missing disableIcons option 2024-02-11 14:15:00 +01:00
BearToCode
db3770cece docs: fix links style 2024-01-23 21:25:07 +01:00
BearToCode
00d67f3cbf docs: fix styles and links for community plugins 2024-01-23 21:16:16 +01:00
BearToCode
0af2e23f25 docs: fix margin styles in community plugins 2024-01-22 18:51:15 +01:00
BearToCode
893742d90e docs: add community plugins in README and docs 2024-01-22 18:45:57 +01:00
Davide
d33285251a
feat(cartaeditor): add tooltip on quick toolbar icon buttons (#34) 2024-01-19 09:34:24 +01:00
maisonsmd
4693658089 feat(cartaeditor): add tooltip on quick toolbar icon buttons
add tooltip on quick toolbar icon buttons
2024-01-18 10:39:51 +07:00
Davide
d3f3b4cc09
Add heading anchor link plugin (#31) 2024-01-16 19:27:27 +01:00
BearToCode
4843c27c67 chore: add plugin-achor to list of packages 2024-01-16 19:24:48 +01:00
maisonsmd
8f98e2ad36 docs(add docs for anchor plugin): add docs for anchor plugin
Add docs for anchor plugin
2024-01-16 23:22:26 +07:00
maisonsmd
2884ceeff1 feat(add new plugin: anchor): add new plugin: anchor
Add ability to render anchor links after headings
2024-01-16 23:17:32 +07:00
BearToCode
5ddddbdc2e fix(plugin-math): automatically enable displayMode for blocks 2024-01-06 12:31:12 +01:00
BearToCode
5b0ce03e6d ci: update pnpm version in workflows 2023-12-19 21:51:56 +01:00
BearToCode
2a7c77e757 ci: update pnpm version in workflows 2023-12-19 21:49:34 +01:00
BearToCode
6fa30f2d3e fix(tikzjax): prevent multiple scripts from being loaded 2023-12-19 21:46:43 +01:00
Davide
b7c8704de3
Improve editor accessibility (#28) 2023-12-17 12:18:26 +01:00
BearToCode
4e097b81ab feat(accessibility): add label to attachment icon 2023-12-17 12:16:02 +01:00
BearToCode
502e564f77 docs: mention accessibility in the docs 2023-12-17 12:06:41 +01:00
BearToCode
dc270ffce9 fix(accessibility): better tab support, allow editor unfocus by using tab 2023-12-17 12:01:57 +01:00
BearToCode
68350779f6 feat(accessibility): arrow keys navigation, add aria-roles
fix #22
2023-12-17 12:01:46 +01:00
BearToCode
56e1572a75 chore: add aria labels to icons 2023-12-17 12:01:15 +01:00
Davide
1b75fe794e
feat: add custom labels support (#23)
* feat: add custom labels
* build: pin prettier to v3.1.0
2023-12-16 23:23:38 +01:00
Davide
14be70bb74
feat: add textarea property to allow additional textarea properties (#27) 2023-12-09 11:20:25 +01:00
BearToCode
661cd137d9 feat: add textarea property to allow additional textarea properties
fix #26
2023-12-09 11:15:46 +01:00