Skip to main content
← Back to list
01Issue
BugShippedSwamp Club
Assigneesstack72

Relationships

#722 swamp.club extension view: multi-line code fence in manifest description renders each line as a separate inline code span

Opened by bixu · 6/20/2026· Shipped 6/21/2026

Affects: https://swamp.club/extension/@hivemq/asdlc-factory (and presumably any extension whose manifest description embeds a fenced multi-line code block).

Symptom

In the extension detail view, the section under "Pull, then instantiate:" renders each line of the fenced ``` block as a separate inline code span (one per row), instead of as a single multi-line preformatted code block.

Expected: one contiguous code block, monospace, preserving newlines. Observed: five distinct one-line code chips stacked vertically, with extra vertical padding between them.

Reproduction

The manifest description for @hivemq/asdlc-factory (any recent beta version, e.g. 2026.06.20.1781978161) contains, verbatim:

## Usage

Pull, then instantiate:

```
swamp extension pull @hivemq/asdlc-factory
swamp model create [@swamp](/u/swamp)/software-factory asdlc-factory
swamp model edit asdlc-factory   # paste in asdlc-factory.definition.yaml under globalArguments
swamp model method run asdlc-factory validate
swamp model method run asdlc-factory start --input workItem=<PLT-id>
```

That four-backtick triple-fence is standard GitHub-flavored Markdown — every other renderer (GitHub PRs, gh CLI, this assistant's view) handles it correctly. Only the swamp.club extension view splits the fence into per-line chips.

Likely cause

The markdown-to-HTML pipeline in the extension detail view appears to be treating each interior line of a fenced block as if it were an inline backtick span, or stripping the fence delimiters before the block recognizer runs. A regression in code-fence handling would fit.

Why it matters

Manifest descriptions are how authors give pull-and-go usage instructions. Having the canonical swamp commands render as a row of disconnected chips makes the snippet unusable for copy-paste and looks visually broken.

Suggested fix verification

  1. Author any extension whose manifest description contains a triple-backtick fenced block with ≥2 lines.
  2. Publish to beta and view it at https://swamp.club/extension/<name>.
  3. Confirm the block renders as a single preformatted code block, not as N inline chips.
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORECONTRIBUTOR_NOTIFIED

Shipped

6/21/2026, 4:00:23 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/21/2026, 3:19:53 PM
Editable. Press Enter to edit.

stack72 commented 6/21/2026, 4:01:01 PM

Thanks @bixu for reporting this! The fix has been merged and a release is on its way. We appreciate your contribution to swamp.

Sign in to post a ripple.