Skip to content

fix: twig escaping#2240

Merged
Bojan Rajh (bojanrajh) merged 2 commits intomainfrom
dx/fix-interpolation
Apr 15, 2026
Merged

fix: twig escaping#2240
Bojan Rajh (bojanrajh) merged 2 commits intomainfrom
dx/fix-interpolation

Conversation

@bojanrajh
Copy link
Copy Markdown
Contributor

Summary

This PR fixes some new occurences of Twig syntax being interpreted as Vue syntax in codeblocks.

Related links

vuejs/vitepress#480

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant.
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted.
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms.
  • Any required dependent changes in downstream modules have already been merged and published.
  • This pull request is ready for review.

Notes

Copilot AI review requested due to automatic review settings April 14, 2026 16:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates documentation to prevent Twig {{ ... }} examples from being interpreted as Vue/VitePress mustache syntax when rendered, by applying v-pre to inline code examples.

Changes:

  • Replace inline backtick-wrapped Twig {{ ... }} snippets with <code v-pre>{{ ... }}</code> in affected docs.
  • Apply the same escaping approach across Nexus workflow docs and Storefront/Twig-related guides.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
products/Nexus/workflow.md Escapes the inline {{ }} expression syntax reference using v-pre.
guides/plugins/plugins/storefront/customize-templates.md Escapes the inline Twig variable example using v-pre.
concepts/framework/architecture/storefront-concept.md Escapes the inline trans interpolation example using v-pre.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bojanrajh Bojan Rajh (bojanrajh) merged commit b91ed0a into main Apr 15, 2026
8 checks passed
@bojanrajh Bojan Rajh (bojanrajh) deleted the dx/fix-interpolation branch April 15, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants