Modify Markdown filter config in Phrase Docs Navigation template to not escape YML underscores

This was completed. I am creating the issue to keep it documented.

Related discussion: gitlab-com/localization/tech-docs-forked-projects/prod/gitlab-docs!48 (merged)

Problem

navigation.yml was exported from Phrase as escaped:

CleanShot 2025-12-04 at 08.42.50@2x.png

Solution by @wojciech.froelich

YAML filter is using Markdown filter on the content extracted from YAML. This caused escaping underscore characters in Markdown style and escaping them again when inserting into YAML. I have modified the template for navigation files (added _ to the characters that should not be escaped) and it works as expected.

Screenshot of modified template:

CleanShot 2025-12-04 at 08.44.27@2x.png

Edited by Oleksandr Pysaryuk