-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
feature request: html output, div around line block #1623
Comments
Eventually I'd like to introduce a native LineBlock +++ John Gabriele [Sep 11 14 13:54 ]:
|
We have a LineBlock element now, but the HTML writer doesn't emit a special class:
|
Can I now style the lineblock from my css without adding any special html to my source file? |
@jgm was this closed in error? The proposal is to remove |
Okay. |
I wanted to add additional styling (for example, a thick border-left) --- otherwise, line blocks tend to blend in and look too much like regular paragraphs. |
Speaking as a web dev, personally, I was never really comfortable with the style attribute... |
I'd be okay with using a div with class and adding CSS to the templates. default.html5 |
I'd like for the html output of line blocks to have a div around them so that I can style them.
That is, I'd like this:
to produce html like
<div class="line-block">this<br/>that</div>
, rather than<p>this<br/>that</p>
.Currently, to get something similar I need to do:
(newlines required) but, of course, that still keeps the
<p>
's around the line block.The text was updated successfully, but these errors were encountered: