This is a comment on Unable To Format Windows Bat Script Contain %%, posted by WikiAdmin at 11/18/2026 09:53
View source for Length-Based Nesting
With version **!!(green)6.3.2!!** WackoWiki supports length-based nesting. WikiEdit determines the correct length by checking the selected block for existing delimiters. ---- To nest code fences in **WackoWiki** without breaking rendering, the **outer fence must be strictly longer** than the longest fence sequence inside it, or use a **different fence character** (percent signs vs. backticks). **Wacko Markup Rule**: A fenced code block ends at the first line with at least as many of the same fence character as the opening fence. Using the same length for nested blocks causes the parser to close the outer block prematurely, leaking the rest of the content as live Markdown. **Solutions**: * **k+1 Rule**: If the inner content contains a fence of length //k// (e.g., 2 percent signs), use a fence of length //k+1// (e.g., 3 percent signs) for the outer block. * **Character Switch**: Use **backticks** (##``##) for the outer fence if the inner fence uses **percent signs** (##%%##), as they cannot close each other. #| ?| Variable-Length Fences (new)|? *| Syntax | Display |* || ``%%% %% code block %% %%%`` | %%% %% code block %% %%% || |# #| ?| Character Switch|? *| Syntax | Display |* || %%%`` %% code block %% ``%%% | `` %% code block %% `` || |#