feat: raw Confluence passthrough via confluence-tagged fenced block#25
Conversation
|
Warning Review limit reached
More reviews will be available in 35 minutes and 44 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Why
Some Confluence constructs have no Markdown equivalent — a clickable Table of Contents, status lozenges, Page Properties (
details), expand/panel/column macros, and so on. Today there is no way to express them: pasting raw<ac:...>storage XML into prose doesn't work, because Markdown parses it as a text node (CommonMark forbids:in HTML tag names) and the text converter then runs it throughescapeXml, so it renders as the literal visible string<ac:structured-macro…>.This adds a single, generic escape hatch instead of a one-off converter per macro.
What
A fenced code block tagged
confluenceis emitted verbatim into the page's storage format — not escaped, not wrapped in a code macro:The implementation is one branch in the code-block converter, placed after the existing
mermaidbranch (which already emits raw storage XML) and before the generic code-macro path. Fence content is stored byte-for-byte in the node's value, so returning it as-is preserves<,&,", newlines and indentation.Notes
confluenceonly, no case-folding, no trimming. An uppercaseConfluence(or any other tag) falls through to a normal code block. There's a regression test pinning this.mermaidand real-language code blocks (js,yaml, …) are unchanged.