Share

What's New Card Filtering (Markdown)

What's New card filters require, at a minimum, that the collections that the filter applies to are within a ui-x-tag-filters section, and the card topics are labeled with filter tags.

Optionally, you can specify tag filter groups that will be completely hidden, including title, text and collections, when all of the cards within that group have been filtered out.

Outer Layers

No filtering going on up here.

The filtering applies to all collections within this section

DITA Group (starts just above this subheading)

This whole section, together with the title, should be hidden when all the cards in the DITA group are filtered out.

Do so now by clearing all filters and then selecting markdown group in the filter drop-down.

DITA Group (ends just below this line)

No filtering going on down here.

Markdown Example

Note that the ui-x-tag-filters-group style wraps everything that should be hidden when all cards in that group have been filtered out.

{{#style "ui-x-tag-filters"}}

...

{{#style "ui-x-tag-filters-group"}} 
## Markdown Group (starts just above this subheading)

This whole section, together with the title, should be hidden when all the cards in the Markdown group are filtered out.

Do so now by clearing all filters and then selecting `dita group` in the filter drop-down.

{{#style "whatsnew-collection-list"}}
add-filtering-tags-md,
add-filtering-to-a-collection-md,
add-filtering-md,
add-filtering-group-md
{{/style}} 
**Markdown Group** (ends just below this line)
{{/style}}

...

{{/style}}

Was this information helpful?