summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/src/index.ts
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-01-06 09:26:02 -0500
committerGravatar GitHub <noreply@github.com> 2023-01-06 09:26:02 -0500
commit93e633922c2e449df3bb2357b3683af1d3c0e07b (patch)
tree5a81cd3e18653bef795a9bb8c8e993416fb48e42 /packages/integrations/mdx/src/index.ts
parent04bf679a5d509197aa3b7587e511588f652e886e (diff)
downloadastro-93e633922c2e449df3bb2357b3683af1d3c0e07b.tar.gz
astro-93e633922c2e449df3bb2357b3683af1d3c0e07b.tar.zst
astro-93e633922c2e449df3bb2357b3683af1d3c0e07b.zip
Add SmartyPants flag (#5769)
* feat: add smartypants flag * test: smartypants in markdown and mdx * docs: Smartypants -> SmartyPants * chore: changeset * chore: update changeset with 1.0 -> 2.0 in mind * chore: bump to minor change
Diffstat (limited to 'packages/integrations/mdx/src/index.ts')
-rw-r--r--packages/integrations/mdx/src/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/integrations/mdx/src/index.ts b/packages/integrations/mdx/src/index.ts
index 7a49498e6..756e6d24f 100644
--- a/packages/integrations/mdx/src/index.ts
+++ b/packages/integrations/mdx/src/index.ts
@@ -186,6 +186,7 @@ function applyDefaultOptions({
recmaPlugins: options.recmaPlugins ?? defaults.recmaPlugins,
remarkRehype: options.remarkRehype ?? defaults.remarkRehype,
gfm: options.gfm ?? defaults.gfm,
+ smartypants: options.smartypants ?? defaults.smartypants,
remarkPlugins: options.remarkPlugins ?? defaults.remarkPlugins,
rehypePlugins: options.rehypePlugins ?? defaults.rehypePlugins,
shikiConfig: options.shikiConfig ?? defaults.shikiConfig,