-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Provide an output setting to render all elements as block #273
Comments
Thanks Koj, this looks interesting. How would you describe the benefit of this -- why would someone want to use it? |
It enables to render the HTML as any inspector (firebug for instance) would do. Thus, it is easier to identify and highlight a unique node in the whole DOM. |
OK, cool. It'd be good if we can think of a method name that describes that utility better, I'm not sure that people will get it from "force block mode" -- that's more of an implementation detail. Maybe "outline" or something? |
Outline sounds great to me. Any chance to be merged in the next release ? |
Yep, I'll bring it in. Thanks! |
In 1.7.2 |
If enable, the HTML output methods will consider all tags as block.
Example 1:
would be rendered as follows
Example 2:
would be rendered as follows
The text was updated successfully, but these errors were encountered: