File tree Expand file tree Collapse file tree 3 files changed +7911
-7568
lines changed Expand file tree Collapse file tree 3 files changed +7911
-7568
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const path = require('path')
2
2
const querystring = require ( 'querystring' )
3
3
const { createLoader } = require ( 'simple-functional-loader' )
4
4
const frontMatter = require ( 'front-matter' )
5
+ const withSmartQuotes = require ( '@silvenon/remark-smartypants' )
5
6
const { withTableOfContents } = require ( './remark/withTableOfContents' )
6
7
const { withSyntaxHighlighting } = require ( './remark/withSyntaxHighlighting' )
7
8
const { withProse } = require ( './remark/withProse' )
@@ -88,10 +89,9 @@ module.exports = withBundleAnalyzer({
88
89
withTableOfContents ,
89
90
withSyntaxHighlighting ,
90
91
withNextLinks ,
92
+ withSmartQuotes ,
91
93
] ,
92
- rehypePlugins : [
93
- withLinkRoles ,
94
- ] ,
94
+ rehypePlugins : [ withLinkRoles ] ,
95
95
} ,
96
96
} ,
97
97
createLoader ( function ( source ) {
Original file line number Diff line number Diff line change 19
19
"@next/bundle-analyzer" : " ^9.4.4" ,
20
20
"@next/mdx" : " ^10.0.1" ,
21
21
"@reach/rect" : " ^0.10.5" ,
22
+ "@silvenon/remark-smartypants" : " ^1.0.0" ,
22
23
"@sindresorhus/slugify" : " ^1.1.0" ,
23
24
"@svgr/webpack" : " ^5.4.0" ,
24
25
"@tailwindcss/jit" : " ^0.1.18" ,
You can’t perform that action at this time.
0 commit comments