On the detail page of a tx_news record I want to list the related categories as a structured menu (not just as simple text). In principle what this TypoScript snippet does: https://docs.typo3.org/p/georgringer/news/main/en-us/singlehtml/Index.html#show-category-menu-with-typoscript (but instead of showing all categories only the related ones of the displayed news.)
Edit: the default output of the related categories is just plain text: "main category, sub category, sub category, ...". I would like to have list output like
main category
sub category sub category
- main category
- sub category
" – Sandro Jan 09 '22 at 10:17