{"repo":"nvlang/sveltex","free":true,"listed":false,"github":"https://github.com/nvlang/sveltex","clone":"git clone https://github.com/nvlang/sveltex.git","description":"Svelte + Markdown + LaTeX","language":"TypeScript","stars":28,"topics":["latex","markdown","svelte"],"license":"MIT","category":"cli-tools","readme_excerpt":"Getting Started Note: See the [docs] for more information. Note : This package is [ESM-only]. Adding SvelTeX to a project The quickest way is the [ @nvl/sv-sveltex ] community add-on for the [Svelte CLI] ( sv ). In a SvelteKit project, run: …and follow the prompts. It installs @nvl/sveltex and the peer dependencies for the backends you pick, creates a sveltex.config.{js,ts} , and wires the SvelTeX preprocessor and the .sveltex extension into your svelte.config.{js,ts} . Starting from scratch? Run npx sv create first, then npx sv add @nvl/sv-sveltex inside the new project. [!NOTE] Svelte's community-add-on support is still experimental, and [ @nvl/sv-sveltex ] itself is in alpha; community add-ons are not vetted by the Svelte maintainers. Manual setup If you're not on SvelteKit, or would rather wire things up by hand: Then install the backends you chose — IntelliSense, or the error SvelTeX throws without them, will tell you which — create a +page.sveltex file under src/routes , and start writing Markdown, math, code blocks and TeX components. See the [docs] for more. Editor integration SvelTeX has first-class editor support: syntax highlighting and a language server ([ @nvl/sveltex-language-server ]) that proxies the real Svelte tooling for the Svelte parts of a .sveltex file and adds native Markdown, math and frontmatter features. - VS Code — install the [SvelTeX extension] (VS Code Marketplace; also on [Open VSX] for VSCodium, Cursor, Windsurf, …). It bundles the language se","default_branch":null,"files":null,"tree":[],"storefront":"/r/nvlang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nvlang/sveltex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}