prevent substitution of --
This commit is contained in:
parent
f8549af5d4
commit
28edb36704
1 changed files with 8 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { defineConfig } from "astro/config";
|
|||
import starlight from "@astrojs/starlight";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import matomo from "astro-matomo";
|
||||
import remarkSmartypants from "remark-smartypants";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
|
|
@ -56,4 +57,11 @@ export default defineConfig({
|
|||
}),
|
||||
sitemap(),
|
||||
],
|
||||
|
||||
markdown: {
|
||||
remarkPlugins: [
|
||||
// remove the substitution of -- to –
|
||||
[remarkSmartypants, { dashes: false }],
|
||||
],
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue