Customise the rendering component #131
Unanswered
AaronLayton
asked this question in
Q&A
Replies: 2 comments 2 replies
-
You can change the styles using CSS. For example you could hide the dots with: .ch-frame-button {
border-color: #5c5c5c !important;
background-color: #535353 !important;
} You can't customize the HTML. I may add a "copy" button soon, what other things are you trying to add? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@pomber any thoughts on this? I would love to use my own custom wrapper, happy to help out to code this in as a PR providing the base code is extensible enough |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using
mdx-bundler
and previously I was picking up on<pre>
tag and replacing that with my own custom<SyntaxHighter />
. In my component I am doing a few extra effects that help with styling, code copying etc.Is there a way to customise the rendered output element so I can decorate it with my own container styles instead of the 3 dots in the top left?
Beta Was this translation helpful? Give feedback.
All reactions