A lightweight, fast and extensible Svelte Markdown editor and viewer.
Carta is a lightweight, fast, and extensible Svelte Markdown editor and viewer. Recently updated to v4, it features major changes and is powered by unified, remark, and rehype, offering a unique approach without a code editor but with syntax highlighting, shortcuts, and more.
npm install carta-md
npm install plugin-math plugin-code plugin-emoji plugin-slash plugin-tikz plugin-attachment plugin-anchor
Ensure to provide a sanitizer in the options. Popular sanitizers include isomorphic-dompurify and sanitize-html. Refer to the documentation for a detailed example.
Carta v4 is a feature-rich Markdown editor and viewer that stands out for its lightweight and extensible nature. With support for numerous plugins and a user-friendly interface, Carta offers a unique markdown editing experience with syntax highlighting, keyboard shortcuts, and more. Installation is straightforward with npm packages, and users are encouraged to explore the wide range of features and customization options provided by Carta.
ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.