Skip to content

Conversation

@Tenormis
Copy link
Contributor

@Tenormis Tenormis commented Dec 5, 2025

Final rules summary:

  • Must be inside the main content root (.VPDoc main .vp-doc > div)
  • Direct parent must be one of the allowed container tags (['DIV', 'BLOCKQUOTE', 'DETAILS', 'FIGURE', 'UL', 'OL', 'LI', 'TABLE', 'THEAD', 'TBODY'])
  • DIVs containing a direct <pre> child (code blocks) are excluded
  • When the parent is <li>, the current node must itself be a container tag or <p>

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