diff --git a/.npmrc b/.npmrc index fbf7f9a..5a55603 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ engine-strict=true auto-install-peers=true +publish-branch=slim diff --git a/README.md b/README.md index 2462b4e..340eca2 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,9 @@
๐Ÿ“š Documentation ยท -GitHub +Source code + ยท +Original GitHub

@@ -36,6 +38,12 @@ Carta is a **lightweight**, **fast** and **extensible** Svelte Markdown editor and viewer. It is powered by [unified](https://github.com/unifiedjs/unified), [remark](https://github.com/remarkjs/remark) and [rehype](https://github.com/rehypejs/rehype). Check out the [examples](http://beartocode.github.io/carta/examples) to see it in action. Differently from most editors, Carta does not include a code editor, but it is _just_ a textarea with syntax highlighting, shortcuts and more. +This is a fork of carta which applies the following changes: + +- Replace Shiki syntax higlighter with Prism.js (much more lightweight, 90kB vs 385kB bundle size for minimal test application) +- Make markdown renderer class configurable and set it to `prose` by default (for Tailwind support) +- Make markdown input usable without JS + ## Features - ๐ŸŒˆ Markdown syntax highlighting ([Shiki](https://shiki.style/)); @@ -100,7 +108,7 @@ npm i @cartamd/plugin-name ```svelte