diff options
author | 2023-01-06 09:26:02 -0500 | |
---|---|---|
committer | 2023-01-06 09:26:02 -0500 | |
commit | 93e633922c2e449df3bb2357b3683af1d3c0e07b (patch) | |
tree | 5a81cd3e18653bef795a9bb8c8e993416fb48e42 /packages/integrations/mdx/src/index.ts | |
parent | 04bf679a5d509197aa3b7587e511588f652e886e (diff) | |
download | astro-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.ts | 1 |
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, |