<oXygen/> Author allows you to choose whether tag markers of an element should never
be presented or the current Display mode
should be respected. This is especially useful when working with :before
and :after
pseudo elements in which case the element range is already
visually defined so the tag markers are redundant.
The property is named display-tags
. Its possible values are :
none Tags markers must not be presented regardless of the current Display mode.
default The tag markers will be created depending on the current Display mode.
inherit The value of the property is inherited from an ancestor element.
display-tags Value: none | default | inherit Initial: default Applies to: all nodes(comments, elements, CDATA, etc) Inherited: false Media: all
display-tags
is a non standard property and is recognized only by
<oXygen/> Author.
Example 8.10. Docbook Para elements
In this example the para element from Docbook is using an :before
and :after
element so you don't want its tag markers to be
visible.
para:before{ content: "{"; } para:after{ content: "}"; } para{ display-tags: none; display:block; margin: 0.5em 0; }