Commit graph

253 commits

Author SHA1 Message Date
BearToCode
652a08a1ab add custom event node compatibilty 2023-08-05 16:01:26 +02:00
BearToCode
5ea174d2cb set renderer elem in viewer 2023-08-05 15:52:36 +02:00
BearToCode
03037c4bdd v2.0.8 2023-08-05 10:52:30 +02:00
BearToCode
b4d268a9d7 Merge branch 'dev' 2023-08-05 09:45:41 +02:00
BearToCode
741e962ecc fix events not firing without input 2023-08-05 09:44:59 +02:00
BearToCode
fc9c2021fc v2.0.7 2023-08-01 20:23:57 +02:00
BearToCode
42818e2ec3 plugin-tikz: improve post processing 2023-08-01 20:16:59 +02:00
BearToCode
1d2bc033c1 merge dev 2023-08-01 19:38:10 +02:00
BearToCode
ded047780f v2.0.6 2023-08-01 19:34:59 +02:00
dependabot[bot]
8c45a04319
Bump vite from 4.3.3 to 4.3.9
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.3 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 17:27:07 +00:00
BearToCode
cce7cfd4a3 remove custom shj build 2023-08-01 19:18:45 +02:00
BearToCode
a10e9c94f2 v2.0.5 2023-08-01 18:58:07 +02:00
BearToCode
37333e7019 Merge branch 'master' into dev 2023-08-01 18:52:21 +02:00
BearToCode
3c131b8a43 plugin-tikz: prevent running outside browser 2023-08-01 18:50:50 +02:00
BearToCode
1fcd1ec286 v2.0.4 2023-07-25 18:48:21 +02:00
BearToCode
4d5c8792d7 Merge branch 'master' of https://github.com/BearToCode/carta-md 2023-07-25 18:40:32 +02:00
BearToCode
aea5068d05 refresh carta when loading languages 2023-07-25 18:39:41 +02:00
BearToCode
61b64b412c add custom slash commands 2023-07-23 23:16:08 +02:00
Davide
aff7f49282
update readme tikz options 2023-07-23 19:39:36 +02:00
Davide
e48ead1d5c
fix readme title 2023-07-23 19:37:32 +02:00
BearToCode
47826a5316 v2.0.3 2023-07-23 19:10:55 +02:00
BearToCode
139575a269 sanitize generated SVGs 2023-07-23 19:06:00 +02:00
BearToCode
6137c30d20 add post processing svg 2023-07-23 19:03:40 +02:00
BearToCode
b2fb616883 don't externalize md5 but move it to dev deps 2023-07-23 19:03:09 +02:00
BearToCode
09493ced8b update readmes 2023-07-23 15:22:35 +02:00
BearToCode
47b871995a externalize md5 2023-07-23 15:20:12 +02:00
BearToCode
409e8dad82 replace tikz generate html from scripts to divs 2023-07-23 15:10:38 +02:00
BearToCode
1fe3af48ee plugin-math: add required file extension in import 2023-07-23 14:21:14 +02:00
BearToCode
d86d3c7be4 v2.0.2 2023-07-23 11:30:01 +02:00
BearToCode
fe68d8db04 Merge branch 'dev' 2023-07-23 11:24:56 +02:00
BearToCode
5f6c8dc19b fix extensions requiring import of main package 2023-07-23 11:24:28 +02:00
BearToCode
e60bdb4cab move highlighting functions to separate files 2023-07-22 19:50:45 +02:00
BearToCode
e1c317d1e3 v2.0.1 2023-07-21 12:21:19 +02:00
BearToCode
04a0258ada Merge branch 'dev' 2023-07-21 12:14:26 +02:00
BearToCode
f539d9daba fix tikz svgs flickering and improve readme 2023-07-21 12:13:52 +02:00
BearToCode
0e78d32c17 v2.0.0 2023-07-20 19:26:29 +02:00
BearToCode
c3dbaa01b2 fix tikz debug option 2023-07-20 19:21:34 +02:00
Davide
891f9e5306
update readme 2023-07-20 09:31:28 +02:00
BearToCode
8c1b942408 update demo and readme 2023-07-19 19:15:39 +02:00
BearToCode
f24c378228 minor general fixes 2023-07-19 19:15:08 +02:00
BearToCode
1851db0618 fix components positioning and resizing 2023-07-19 15:48:47 +02:00
BearToCode
f88a406c52 save scroll state in tabs mode 2023-07-17 17:26:38 +02:00
BearToCode
f40a7f87e8 merge tikz with other changes 2023-07-16 18:27:34 +02:00
BearToCode
718ce8b9c9 add tikz plugin(wip) 2023-07-16 18:17:20 +02:00
BearToCode
f3f43d5db7 adjust sync scroll timing 2023-07-16 17:50:58 +02:00
BearToCode
e8bc654b2e fix and improve scroll 2023-07-15 12:36:51 +02:00
BearToCode
412c36b760 improve readme 2023-07-14 18:18:45 +02:00
BearToCode
5bb4728ccf improve readme 2023-07-14 10:51:34 +02:00
BearToCode
663c8734d7 improved syntax highlighting 2023-07-14 08:49:16 +02:00
BearToCode
3355ec02c6 add render custom events 2023-07-10 20:10:01 +02:00
BearToCode
ef20afc539 v1.2.0 2023-05-26 20:09:50 +02:00
BearToCode
f90d5307c0 convert plugins vite packages to sveltekit 2023-05-26 20:03:53 +02:00
BearToCode
b23d1612a9 slash and emojii: hide components on no matches 2023-05-26 19:32:24 +02:00
BearToCode
5351c98412 fix slash and emojii components positioning when bigger than textarea 2023-05-26 19:28:59 +02:00
BearToCode
169c8426ee v1.1.13 2023-05-21 10:19:46 +02:00
BearToCode
ce511bbfd4 allow async marked extensions 2023-05-21 10:14:21 +02:00
BearToCode
b91210eb5d fix editor debouncing not working 2023-05-20 20:02:05 +02:00
BearToCode
e56e4503a3 v1.1.12 2023-05-20 12:43:08 +02:00
BearToCode
b60a8c7ca2 fix plugin emoji styles 2023-05-20 12:41:46 +02:00
BearToCode
06853fdd97 v1.1.11 2023-05-20 12:37:32 +02:00
BearToCode
9855bb12f2 Merge branch 'master' into dev 2023-05-20 12:31:30 +02:00
BearToCode
3a8fac462b add fallback monospace font style 2023-05-20 12:24:35 +02:00
styxpilled
c228bdea9b fix textarea selector specificity
closes #2
2023-05-19 23:32:13 +02:00
BearToCode
5635e13135 fix type in readme 2023-05-19 20:51:20 +02:00
BearToCode
502ed2b964 v1.1.10 2023-05-19 07:06:54 +02:00
BearToCode
2b14831e3f fix documentation in nested README 2023-05-19 07:03:24 +02:00
BearToCode
dcc4601a09 Merge branch 'dev' 2023-05-19 07:01:44 +02:00
BearToCode
06173dd0ca change readme name 2023-05-19 06:57:32 +02:00
styxpilled
9aee3d0713 readme: fix incorrect npm scope 2023-05-18 23:52:56 +02:00
BearToCode
3a53f4e1c0 resize textarea on mount 2023-05-18 20:42:51 +02:00
BearToCode
f1595f7b82 v1.1.9 2023-05-13 20:15:42 +02:00
BearToCode
4d3964f807 minor fixes regarding prefixes and slash commands 2023-05-13 20:13:35 +02:00
BearToCode
24653a7abd v1.1.8 2023-05-13 19:04:09 +02:00
BearToCode
065af50adc add dark theme to package.json export 2023-05-13 19:02:05 +02:00
BearToCode
55043f8a21 v1.1.7 2023-05-13 19:00:47 +02:00
BearToCode
33baa3039a add included dark theme 2023-05-13 18:58:20 +02:00
BearToCode
fa8d22b46e v1.1.6 2023-05-13 16:57:33 +02:00
BearToCode
8b511c37f5 do not escape html, add blockqutoe prefix 2023-05-13 16:53:35 +02:00
BearToCode
8f72b28e4f v1.1.5 2023-05-13 15:22:35 +02:00
BearToCode
0d5e8177d5 carta-md: only include dist folder 2023-05-13 15:20:48 +02:00
BearToCode
6a8d4cc595 v1.1.4 2023-05-13 13:34:24 +02:00
BearToCode
ddbf3fe42d fix dist directories not included in plugins 2023-05-13 13:32:58 +02:00
BearToCode
d162c91013 v1.1.2 2023-05-13 12:46:02 +02:00
BearToCode
b99aea1f59 fix publish script so that it updates peer deps as well 2023-05-13 12:43:03 +02:00
BearToCode
44f4d59904 v1.1.1 2023-05-13 12:25:16 +02:00
BearToCode
0177612d10 change strikethrough icon to have the same size 2023-05-13 12:23:34 +02:00
BearToCode
fdae1ba5fb v1.1.0 2023-05-12 18:42:43 +02:00
BearToCode
a6f1426c37 escape input before parsing 2023-05-12 18:38:18 +02:00
BearToCode
4bb4d572fc prevent vite css mixed end support warning 2023-05-11 19:28:55 +02:00
BearToCode
d101aef9cb re-add readme shields 2023-05-11 19:23:04 +02:00
BearToCode
c69689e285 v1.0.5 2023-05-11 19:17:20 +02:00
BearToCode
94ef1965b5 remove custom ssr sanitizer 2023-05-11 19:15:04 +02:00
BearToCode
29e7eb4b30 prevent vite css flex end warning 2023-05-11 19:11:07 +02:00
BearToCode
5e8ea21e62 fix readme for plugin-math 2023-05-11 08:21:37 +02:00
BearToCode
739eb30654 v1.0.4 2023-05-10 20:26:03 +02:00
BearToCode
b5fd4efc4a add support for custom ssr sanitizer 2023-05-10 20:23:34 +02:00
BearToCode
7daa5f06a8 add links to readme shields 2023-05-10 19:34:47 +02:00
BearToCode
71b59c5411 v1.0.3 2023-05-10 12:50:38 +02:00
BearToCode
840bead096 hide icons on small devices 2023-05-10 12:48:54 +02:00
BearToCode
4e6cb55b96 v1.0.2 2023-05-10 12:41:01 +02:00
BearToCode
f9ff29f239 copy main readme to carta-md 2023-05-10 12:29:38 +02:00
BearToCode
e5093c430e add keywords to packages 2023-05-10 12:26:39 +02:00
BearToCode
1a8e0e0e9f version 0.0.1 2023-05-10 12:21:53 +02:00
BearToCode
2aae52f4b9 fix publish script 2023-05-10 12:14:46 +02:00
BearToCode
32374f7bca edit package.json of all packages 2023-05-10 12:03:16 +02:00
BearToCode
3292ce66d5 add readme to all packages 2023-05-10 11:56:04 +02:00
BearToCode
942a0918ec fix prefixes match removals 2023-05-10 11:03:48 +02:00
BearToCode
b2700c3301 add strikethrough icon 2023-05-10 10:55:30 +02:00
BearToCode
c05c6ad336 fix code icon 2023-05-10 10:53:35 +02:00
BearToCode
6c95e94c0d explicitly specify node modules type roots 2023-05-10 09:51:02 +02:00
BearToCode
0ede3a94b8 fix history state management 2023-05-09 22:36:45 +02:00
BearToCode
995cc2fb06 close emoji snippet with escape 2023-05-09 20:36:36 +02:00
BearToCode
9c5589cf45 close slash snippet with escape 2023-05-09 20:34:50 +02:00
BearToCode
8502e96119 fix extra line on codes 2023-05-09 18:01:47 +02:00
BearToCode
953298114b add tab support 2023-05-09 16:47:02 +02:00
BearToCode
abcccf854f only open emojis snippet with filter 2023-05-09 16:35:30 +02:00
BearToCode
542d8021dd add sanitizer support 2023-05-09 16:00:10 +02:00
BearToCode
f9e87137c7 add github theme to demo 2023-05-09 15:56:54 +02:00
BearToCode
ce439cdd52 demo: add monospace font to <code>s as well 2023-05-09 10:56:16 +02:00
BearToCode
0cd6f395fc adjust styles 2023-05-09 10:46:23 +02:00
BearToCode
e795c11815 fix toolbar positioning 2023-05-09 10:07:09 +02:00
BearToCode
e78f44ff82 disable default line numbering 2023-05-09 09:41:43 +02:00
BearToCode
b9b4ba9032 fix ssr support with syntax highlighting 2023-05-08 22:32:12 +02:00
BearToCode
1941478a80 add code blocks syntax highlighting 2023-05-07 22:05:12 +02:00
BearToCode
6cbe0ef814 add syntax highlight of codeblocks, change from prism to highlightjs 2023-05-06 20:44:13 +02:00
BearToCode
3f849e3175 fix emojis up/down navigation 2023-05-06 17:03:21 +02:00
BearToCode
ef86f97219 emoji extension 2023-05-06 16:50:52 +02:00
BearToCode
a422055c9f setup emoji plugin 2023-05-04 22:24:39 +02:00
BearToCode
05a3a7a557 make snippets clickable 2023-05-04 22:24:30 +02:00
BearToCode
efe258d8a5 add auto scroll, groups, more snippets 2023-05-04 22:24:27 +02:00
BearToCode
59bdb97417 working simple slash command 2023-05-04 22:24:23 +02:00
BearToCode
e4cc9714ab add katex safe renderer 2023-05-04 22:24:21 +02:00
BearToCode
ed2b01d67b slash plugin setup 2023-05-04 22:24:19 +02:00
BearToCode
72523d50e9 give extension components props 2023-05-04 22:24:13 +02:00
BearToCode
2d850cb980 rename plugin-katex to plugin-math, update demo 2023-05-04 22:24:10 +02:00
BearToCode
9074fd58d8 allow extensions custom elements 2023-05-04 22:24:08 +02:00
BearToCode
c045b5362c setup slash plugin enviroment 2023-05-04 22:24:05 +02:00
BearToCode
fa69249483 add event listeners 2023-05-04 22:24:03 +02:00
BearToCode
1471a1c77c remove prefixes on empty lines 2023-05-04 22:24:00 +02:00
BearToCode
7d408dcef9 beta v0.1.6 2023-05-04 22:23:56 +02:00
BearToCode
3673f96829 remove tsconfig.tsbuildinfo 2023-05-04 22:23:49 +02:00
BearToCode
17edb040b9 working demo 2023-05-04 22:23:45 +02:00
BearToCode
99b4cd76f0 add publish script 2023-05-04 22:23:41 +02:00
BearToCode
97c22a93bb add prefixes 2023-05-04 22:23:34 +02:00
BearToCode
9c8ee59a73 do not extend main tsconfig in carta-md
This is done to prevent linting errors about not included files,
probably due to svelte not working properly with typescript 5.0 features
2023-05-04 22:23:31 +02:00
BearToCode
f99376ec4a update styles, add icons 2023-05-04 22:23:28 +02:00
BearToCode
2ee95c11d3 add katex keyboard shortcuts 2023-05-04 22:23:20 +02:00
BearToCode
7dd2aa396b add build script 2023-05-04 22:23:15 +02:00
BearToCode
4762025b0b finish katex plugin 2023-05-04 22:23:12 +02:00
BearToCode
3c19a69418 plugins setup with pnpm 2023-05-04 22:23:09 +02:00