Backticks are not removed when using Code extension. #4233
Unanswered
andersr
asked this question in
Questions & Help
Replies: 2 comments
-
|
hi sorry, can I ask if you managed to remove the backticks and how you did it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
they can be hidden with For example: const editor = useEditor({
extensions: [
Code.configure({
HTMLAttributes: {
class:
'rounded-md bg-gray-100 px-1.5 py-1 font-mono text-sm [&::before]:content-none [&::after]:content-none',
},
}),
], |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I installed the Code extension. However, in contrast to what appears in the demo, the backticks before and after the code block are not removed/hidden.
In other words, I am seeing this:
Why are they appearing for me but not in the demo? How can I make them go away?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions