Added typograf
All checks were successful
Deploy / build-and-publish (push) Successful in 1m10s
Deploy / deploy (push) Successful in 14s

This commit is contained in:
2024-09-30 01:14:28 +03:00
parent 27044c9711
commit 4087c30687
3 changed files with 71 additions and 1 deletions

View File

@@ -1,13 +1,16 @@
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import {mdsvex} from "mdsvex";
import remarkTypograf from "@mavrin/remark-typograf"
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte', '.svx'],
preprocess: [
vitePreprocess(),
mdsvex(),
mdsvex({
remarkPlugins: [remarkTypograf]
}),
],
kit: {
adapter: adapter()