Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special character parsing #14

Closed
iamskok opened this issue Feb 15, 2019 · 2 comments
Closed

Special character parsing #14

iamskok opened this issue Feb 15, 2019 · 2 comments
Labels
🙋 no/question This does not need any changes

Comments

@iamskok
Copy link

iamskok commented Feb 15, 2019

Hey, @wooorm 👋

I'm working on Gatsby plugin for extending code block functionality and it's using the below syntax:

```js:title=index.js&copy=true
console.log('Some code goes here...')
```

The problem I'm facing is that &copy gets encoded to ©. Is there any way to avoid it?

@ChristianMurphy
Copy link
Member

ChristianMurphy commented Feb 15, 2019

Hey @iamskok! 👋
This question is related to Remark/Mdast parsing, the best place to ask it would be https://spectrum.chat/unified/remark.
It's not something that can be fixed/added to unist-util-visit, this handles processing after parsing is done.

@iamskok
Copy link
Author

iamskok commented Feb 15, 2019

@ChristianMurphy Thank you!

@wooorm wooorm added the 🙋 no/question This does not need any changes label Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 no/question This does not need any changes
Development

No branches or pull requests

3 participants