Commit Graph

17 Commits

Author SHA1 Message Date
ocavue 8eb6b2378a
refactor: migrate from shikiji to shiki v1 (#2591) 2024-02-15 07:43:09 +00:00
ocavue 74138a9a58
refactor: migrate from shiki to shikiji (#2520) 2023-12-20 18:54:40 +00:00
Daniel Roe 406fe18302 fix: export highlighter function and rename in composable 2023-01-17 06:47:46 +00:00
Daniel Roe 98a4e8caaf refactor: fix typo in function name 2023-01-17 06:26:06 +00:00
jviide c15df78cbb
fix: prevent HTML injections to code blocks (#1165) 2023-01-15 10:48:22 +00:00
webfansplz f76628d4ab
fix: shiki fallback language (#1044) 2023-01-13 23:08:08 +08:00
Daniel Roe 7a36fb8efd
refactor: use `@nuxtjs/color-mode` to manage ssr (#612) 2022-12-29 13:26:08 +01:00
Anthony Fu d8d163dbd0 fix: rework setup to improve SSR compatibility 2022-12-28 02:06:54 +01:00
Anthony Fu 75f49461de feat: code highlight for tiptap 2022-12-13 14:02:43 +01:00
三咲智子 a58e9ce8bd
fix: shiki load basic languages initially 2022-12-03 01:40:02 +08:00
Anthony Fu b150d6d65e fix: shiki don't load all lang 2022-11-30 15:15:26 +08:00
Anthony Fu 04431c7319 chore: switch to `shiki-es` 2022-11-30 13:45:42 +08:00
三咲智子 c475ed3857
fix: don't load all languages for code 2022-11-25 15:55:56 +08:00
三咲智子 36ea7f6b4e
fix: render code block 2022-11-25 15:25:44 +08:00
Anthony Fu dbf4362d8b fix: improve loading 2022-11-24 16:57:28 +08:00
Anthony Fu b947931d3b fix(shiki): do not load languages initially 2022-11-24 12:58:25 +08:00
Anthony Fu 0a8841f4f4 feat: support codeblock 2022-11-24 11:42:03 +08:00