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

Unable to style inline blocks separately #7

Open
scrambldchannel opened this issue Nov 15, 2020 · 0 comments
Open

Unable to style inline blocks separately #7

scrambldchannel opened this issue Nov 15, 2020 · 0 comments

Comments

@scrambldchannel
Copy link
Contributor

Hi David

Thanks for this plugin, it has some nice little features! I love the control it gives me over the formatting.

I am having a slight issue working out how best to style inline blocks differently to multi-line blocks. I would like to be able to override the style for inline code so that they match my light theme better but use a dark theme like night-owl for multi-line blocks. I tried setting noInlineHighlight to true but it doesn't do what I want (I guess this only effects the text highlighting, not the rest of the styling).

Perhaps you could use a different class name for the inline code blocks? This would make it possible to add custom CSS if you want to for inline text only? I played around with it and it seemed to work. I'll raise a PR to show you what I mean, it may not be the best way.

Cheers
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant