React Markdown showing (`) backquote/backtick on render. #674
-
Hi there, I just wondering if the default display for code backtick in markdown i think it should remove the backtick by default but they still showing on my page. here's what is look on rendered page i also try to inspect html there are ::before and ::after that render those backtick. is there any way i can remove this. and also i use tailwind-typograpy. is this the probem with tailwind or just default react-markdown? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
there are no backticks added with |
Beta Was this translation helpful? Give feedback.
-
The fix in tailwind typography that adds this is to put an patch in the The default values for ::before and ::after look like
This is one possibility for changing it:
|
Beta Was this translation helpful? Give feedback.
-
With the above fix the build fails with error
Use this instead typography: {
DEFAULT: {
css: {
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
}, |
Beta Was this translation helpful? Give feedback.
there are no backticks added with
before
andafter
by this project. You should look for the problem somewhere else