super-reinforced-fenced-block

Formats deeply nested Markdown content using incremental tilde fence counts.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill super-reinforced-fenced-block-gozonerd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: super-reinforced-fenced-block
Source: https://github.com/gozonerd/shadow-ai-assessment/tree/main/.claude/skills/super-reinforced-fenced-block
Command: npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill super-reinforced-fenced-block-gozonerd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Standard Markdown code fences break when the content being presented itself contains fenced blocks, causing rendering corruption in nested documentation. This Skill resolves extreme nesting cases where content contains both backtick fences and tilde fences. ## Core Features & Use Cases - Incremental Tilde Fencing: Uses 16 tildes for the outermost layer, 12 tildes for the next layer, and backtick fences for innermost content, since Markdown closes a fence only on an exact tilde-count match. - Nesting Rules Enforcement: Limits nesting to three layers and requires each layer to use a different fence character count. - HTML Fallback: Switches to <pre> tags when content contains 16 or more consecutive tildes. - Use Case: When documenting the reinforced-fenced-block convention itself, or presenting skill files that already contain 12-tilde fences, wrap the whole block in 16 tildes so inner fences render correctly. ## Quick Start Present this nested Markdown documentation using a super reinforced fenced block so the inner tilde fences render correctly.

Frequently Asked Questions about super-reinforced-fenced-block

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I nest code blocks inside other code blocks in Markdown?

Use tilde fences with different character counts per layer, since Markdown closes a fence only when it encounters the exact same number of tildes. Use 16 tildes for the outermost layer, 12 tildes inside it, and backtick fences for the innermost content.

How many tildes can a Markdown fence use?

The Markdown spec allows any number of tildes with a minimum of three as a fence delimiter. The fence closes only when it encounters the exact same count, which makes unlimited nesting theoretically possible.

Why does my nested Markdown code block render incorrectly?

Rendering breaks when inner content uses the same fence character and count as the outer block, causing the fence to close early. Fix it by giving each nesting layer a different fence count, such as 16 tildes outside and 12 tildes inside.

What are the limitations of tilde fence nesting in Markdown?

This approach should not exceed three nesting layers; deeper content should be restructured instead. If the content itself contains 16 or more consecutive tildes, use HTML pre tags as the outermost container.

When should I use HTML pre tags instead of Markdown fences?

Use HTML pre tags as the outermost container when the content being presented contains 16 or more consecutive tildes, which would conflict with even the largest tilde fence. This is the fallback for extreme nesting cases.