skeleton/mdsvex.config.cjs

20 lines
400 B
JavaScript
Raw Normal View History

2021-06-03 01:18:08 +00:00
module.exports = {
extensions: [".svelte.md", ".md", ".svx"],
smartypants: {
dashes: "oldschool",
},
remarkPlugins: [
[require("remark-github"), {
// Use your own repository
repository: "https://github.com/svelte-add/mdsvex.git",
}],
require("remark-abbr"),
],
rehypePlugins: [
require("rehype-slug"),
[require("rehype-autolink-headings"), {
behavior: "wrap",
}],
],
};