lambda-packages icon indicating copy to clipboard operation
lambda-packages copied to clipboard

Curly quotes with remark-smartypants and MDX

Open brycewray opened this issue 3 years ago • 0 comments

What version of astro are you using?

1.0.8

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

macOS 12.5.1

Describe the Bug

Using MDX (and I've observed this in both v.0.8.1 and v.0.10.1 of @astrojs/mdx), the built-in remark-smartypants functionality has problems with the double quotation marks surrounding a link, such as:

"Title of a linked article"

I have seen this both with the built-in functionality and when adding the remark-smartypants plugin on my own (which I prefer, so I can set some options to my liking).

Note: In the Minimal Reproducible Example, please see /mdx.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-c7vabs/

Participation

  • [ ] I am willing to submit a pull request for this issue.

brycewray avatar Aug 23 '22 22:08 brycewray