Make all tables in markdown responsives to fix issue #295

This commit is contained in:
prototypa
2023-12-01 10:42:30 -05:00
parent 6576ea70ec
commit 0dc98a56f2
2 changed files with 27 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import compress from 'astro-compress';
import icon from 'astro-icon';
import tasks from './src/utils/tasks';
import { readingTimeRemarkPlugin } from './src/utils/frontmatter.mjs';
import { readingTimeRemarkPlugin, responsiveTablesRehypePlugin } from './src/utils/frontmatter.mjs';
import { ANALYTICS, SITE } from './src/utils/config.ts';
@ -76,6 +76,7 @@ export default defineConfig({
markdown: {
remarkPlugins: [readingTimeRemarkPlugin],
rehypePlugins: [responsiveTablesRehypePlugin],
},
vite: {