Commit graph

295 commits

Author SHA1 Message Date
079bae2436
bump version to v1.0.1 2024-05-11 02:59:27 +02:00
a20bb04c46
fix: textarea default style 2024-05-11 02:56:31 +02:00
1bec37f3bd
fix: rename package name 2024-05-11 02:20:51 +02:00
13240b3486
update repo URL 2024-05-11 02:11:27 +02:00
67b014587e
fix dependency versions 2024-05-11 02:04:51 +02:00
f8bf11e311
rename package, set version to 1.0.0 2024-05-11 01:56:03 +02:00
7189136a55
make renderer class configurable 2024-05-11 01:44:22 +02:00
23181c69a2
fix: highlight autolink URLs 2024-05-11 01:20:15 +02:00
551e51639b
fix: make input usable without JS 2024-05-11 00:49:11 +02:00
37c9fc8b69
add prism highlight theme 2024-05-11 00:36:56 +02:00
340abc0b16
switch to prism highlighter 2024-05-10 23:19:17 +02:00
BearToCode
a303834127 build: fix shiki version difference 2024-05-02 19:26:54 +02:00
BearToCode
3fd18a6796 fix: update shiki, fix latex highlighting issues 2024-05-02 17:26:17 +02:00
BearToCode
486a885704 docs: specify to load the language into the highlighter 2024-05-02 17:11:26 +02:00
BearToCode
bafc86d8d3 fix: handle caret endings in Markdown component
fix: #56
2024-04-28 15:46:51 +02:00
BearToCode
a086ece088 docs: update old plugin code readme 2024-04-20 20:05:27 +02:00
BearToCode
dddaad1f1b fix(plugin-anchor): wrong class in default stylesheet 2024-04-20 19:46:00 +02:00
BearToCode
482fd4b8af fix(plugin-tikz): remove wrapping pre 2024-04-15 18:16:43 +02:00
BearToCode
dfc8812123 fix(plugin-tikz): prevent crash when className property is not set 2024-04-14 18:37:48 +02:00
BearToCode
54358b649b fix(plugin-code): do not import isSingleTheme for main package
fix #50
2024-04-14 18:24:18 +02:00
BearToCode
7ad874e6aa fix(plugin-code): module not found error 2024-04-14 18:08:33 +02:00
BearToCode
1a61f58e7d fix(plugin-tikz): invalid version 2024-04-12 16:22:49 +02:00
BearToCode
7d4034c316 fix(plugin-code): invalid version 2024-04-12 16:18:06 +02:00
BearToCode
26241b5bcd fix(plugin-emoji): invalid version 2024-04-12 16:12:56 +02:00
BearToCode
3785fd01c0 fix(plugin-slash): invalid version 2024-04-12 16:07:48 +02:00
BearToCode
c9be45a1ee fix(plugin-math): invalid version 2024-04-12 16:02:45 +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
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
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
3e8e7417d4 build: update dev dependencies 2024-03-18 19:41:22 +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
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
6fa30f2d3e fix(tikzjax): prevent multiple scripts from being loaded 2023-12-19 21:46:43 +01:00
BearToCode
4e097b81ab feat(accessibility): add label to attachment icon 2023-12-17 12:16:02 +01:00
BearToCode
dc270ffce9 fix(accessibility): better tab support, allow editor unfocus by using tab 2023-12-17 12:01:57 +01:00