Display Tag Markers

<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 :

display-tags
    Value: none | default | inherit
    Initial: default
    Applies to: all nodes(comments, elements, CDATA, etc)
    Inherited: false
    Media: all 

Note

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;
}