Commit graph

425 commits

Author SHA1 Message Date
13240b3486
update repo URL 2024-05-11 02:11:27 +02:00
126d18983a
set publish branch to slim 2024-05-11 02:08:52 +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
2177545454 docs: fix grammar 2024-05-02 19:28:12 +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
8e5803a1c4 docs: fix style check issue 2024-05-02 11:30:35 +02:00
BearToCode
0ff9e5b124 docs: add guide on using Svelte components 2024-05-02 11:26:12 +02:00
BearToCode
eb114a7311 docs: small fix in style 2024-05-01 18:21:40 +02:00
BearToCode
34d4f400e6 docs: fix wrong name for Plugins 2024-05-01 18:15:42 +02:00
BearToCode
cc79b25288 docs: add missing copy button 2024-05-01 16:35:47 +02:00
BearToCode
a44b8e971d docs: add dark mode chapter 2024-05-01 16:30:13 +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
7261d295e2 docs: fix editor code having padding 2024-04-18 12:49:11 +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
545864a202 docs: fix grammar/style 2024-04-13 19:59:43 +02:00
BearToCode
0cef0b94ed docs: fix laggy header tracker 2024-04-12 20:14:11 +02:00
BearToCode
20d58a856b docs: fix code background 2024-04-12 16:34:34 +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
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