-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
pre styles from theme? #60
Comments
Yes, I'm focusing 100% on finishing the v2 PR. |
Should be fixed in v3 (with https://codesurfer.pomb.us/#themes) |
Great, thanks! I'll try it when I get a chance :) By the way, for some reason the hash doesn't scroll down the page when I click on your link above (is it maybe client-side rendered or something?) |
Yes, it's either that or the demo iframe stealing focus on load. The docs page has several bugs, I need to work on it a bit more. |
Hm, just coming back to this now, and I don't think this is fixed with v3 themes. I'm trying to set Opened a new issue: #117 |
Somewhat related to #52, it would be nice to be able to style the
pre
element, maybe via the MDX-Decktheme.pre
configuration object.I see that a version of this is being implemented for V2 (https://github.com/pomber/code-surfer/pull/58/files#diff-5679de880b7a5d62961675e36dab6ad0R33), so I suppose this will not be a priority for releasing before that.
My personal use case for this is just setting a simple
line-height
on thepre
, which can be resolved via either #52 or maybe in the future, FormidableLabs/prism-react-renderer#37.The text was updated successfully, but these errors were encountered: