-
Notifications
You must be signed in to change notification settings - Fork 20
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
Wrap block-level syntax with unique class for easier custom styling. #64
Comments
It is not. We need to style the parent |
What effective end result do you want to achieve with your styling of - Michael Sy. |
I see. But we have two different cases. I guess you are talking about the folded syntax creating a whole foldable div/text block. In case of the inline folded text span the parent |
Yes, sorry; we're explicitly looking at the block-level folded syntax, which creates a new I've been patching it locally to simply add a class |
I would also like to see a class added to the parent Other reasons:
Otherwise, thanks for providing a great plugin! |
Upon further reflection, my use case would also be solved by |
Thanks to the lack of parent selectors in available CSS, the current setup makes it impossible to edit any styles on the immediate parent
<p>
for the folder link. Either putting a class on the<p>
or wrapping the entire syntax block in an appropriately-tagged<div>
would resolve that.Would a PR for either version be accepted?
The text was updated successfully, but these errors were encountered: