Skip to content

Commit

Permalink
chore: add remarkGfm plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed May 16, 2024
1 parent 7274b23 commit ae877b8
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 331 deletions.
5 changes: 4 additions & 1 deletion contentlayer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
WebpageElementDocumentType,
} from '@galactiks/contentlayer'
import { makeSource } from 'contentlayer/source-files';
import remarkGfm from 'remark-gfm';

const contentLayerConfig = makeSource({
contentDirPath: 'content',
Expand All @@ -22,7 +23,9 @@ const contentLayerConfig = makeSource({
WebsiteDocumentType,
WebpageElementDocumentType,
],
mdx: {},
mdx: {
remarkPlugins: [remarkGfm],
},
disableImportAliasWarning: true,
})

Expand Down
Loading

0 comments on commit ae877b8

Please sign in to comment.