feat: add wordcount heatmap
This commit is contained in:
parent
8773b9b0df
commit
b79e3e2e47
9 changed files with 351 additions and 1 deletions
|
@ -4,6 +4,7 @@ import sitemap from '@astrojs/sitemap';
|
|||
|
||||
import mdx from '@astrojs/mdx';
|
||||
|
||||
import { remarkWordCount } from './src/plugins/wordcount.js';
|
||||
|
||||
import cloudflare from '@astrojs/cloudflare';
|
||||
import remarkMath from "remark-math";
|
||||
|
@ -27,7 +28,7 @@ export default defineConfig({
|
|||
theme: 'nord',
|
||||
wrap: true
|
||||
},
|
||||
remarkPlugins: [ remarkMath ],
|
||||
remarkPlugins: [ remarkMath, remarkWordCount ],
|
||||
rehypePlugins: [ rehypeKatex ]
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue