Add blog app scaffolding with remark plugins
This commit is contained in:
parent
9d9f213bbe
commit
0b8b50cf12
5 changed files with 84 additions and 0 deletions
19
apps/blog/astro.config.mjs
Normal file
19
apps/blog/astro.config.mjs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
import remarkDirective from 'remark-directive';
|
||||
import remarkGfm from 'remark-gfm';
|
||||
import remarkSlug from 'remark-slug';
|
||||
import remarkSmartypants from 'remark-smartypants';
|
||||
import remarkAside from './src/plugins/remark-aside.ts';
|
||||
|
||||
export default defineConfig({
|
||||
output: 'static',
|
||||
markdown: {
|
||||
remarkPlugins: [
|
||||
remarkGfm,
|
||||
remarkDirective,
|
||||
remarkAside,
|
||||
remarkSlug,
|
||||
remarkSmartypants
|
||||
]
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue