Topic on Extension talk:SyntaxHighlight

</syntaxhighlight> within <syntaxhighlight>

3
One cookie (talkcontribs)

Re. the edit of 16 January 2024:

Hiya @Jdforrester (WMF): - in the edit you made, the unescaped <syntaxhighlight> tags were making the examples of the code render as the examples - I can't see a way to retain syntax highlighting while having the actual tags appear within the block of highlit code when created with normal tags (why would anyone ever need to escape characters between tags which are used to escape whole blocks of code?!) - the {{#tag:}} magic word works instead of the {{SyntaxHighlight source}} template, it looks a bit cleaner and it's how the page's other examples have done it, and like the template it will let its contents linewrap, which the raw tags don't - but I guess it looks similarly confusing in the source. Any suggestions for a better solution?

Jdforrester (WMF) (talkcontribs)
One cookie (talkcontribs)

They only got one - there was a second starting at line 267