Skip to content

Commit

Permalink
Fix markdown heading styles
Browse files Browse the repository at this point in the history
  • Loading branch information
prokawsar committed Nov 26, 2024
1 parent 0829166 commit 0c77ecc
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 5 deletions.
4 changes: 3 additions & 1 deletion mdsvex.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// import remarkPlugins from './src/plugins/remark/index.js';
import rehypePlugins from './src/plugins/rehype/index.js'
import relativeImages from 'mdsvex-relative-images'
import rehypeExternalLinks from 'rehype-external-links'
import rehypePlugins from './src/plugins/rehype/index.js'

export default {
extensions: ['.md'],
smartypants: {
dashes: 'oldschool'
},
remarkPlugins: [relativeImages],
// remarkPlugins: [...Object.values(remarkPlugins)],
rehypePlugins: [
[rehypeExternalLinks, { target: '_blank', rel: ['noopener', 'noreferrer'] }],
Expand Down
Loading

0 comments on commit 0c77ecc

Please sign in to comment.