feat: add emoji support

This commit is contained in:
Alexander Daichendt 2022-07-27 12:08:05 +02:00
parent 559bb72b91
commit 424c7b2ff4
6 changed files with 56 additions and 27 deletions

View file

@ -1,5 +1,6 @@
import { defineMDSveXConfig as defineConfig } from 'mdsvex';
import remarkGFM from 'remark-gfm';
import remarkEmoji from 'remark-emoji';
const config = defineConfig({
layout: {
@ -11,7 +12,7 @@ const config = defineConfig({
dashes: 'oldschool',
},
remarkPlugins: [remarkGFM],
remarkPlugins: [remarkGFM, remarkEmoji],
rehypePlugins: [],
});