svelte-ux icon indicating copy to clipboard operation
svelte-ux copied to clipboard

Improve Preview / Code examples

Open techniq opened this issue 1 year ago • 3 comments

  • [ ] Consider switching from PrismJS to Shiki syntax highlighting
    • https://github.com/shikijs/shiki
    • https://rodneylab.com/sveltekit-shiki-syntax-highlighting/
      • https://github.com/rodneylab/sveltekit-shiki-code-highlighting
    • https://joyofcode.xyz/sveltekit-markdown-blog#syntax-highlighting
  • [ ] Support tailwind configuration
    • https://github.com/bennymi/svhighlight (highlight.js based)
  • [ ] Improve preprocessor
    • https://github.com/metonym/svelte-preprocess-highlight/blob/master/src/index.ts
    • https://www.svelteui.org/preprocessors/view-source
    • https://github.com/svelteuidev/svelteui/blob/main/packages/svelteui-preprocessors/src/SourceCode/preprocess.ts

techniq avatar Jun 10 '23 16:06 techniq