Content deleted Content added
→Using syntaxhighlight when _showcode is used: new section |
Tags: Disambiguation links added Reply |
||
Line 157:
I've changed the {{tag|code}} tags to {{tag|syntaxhighlight}} tags when {{para|_showcode}} is used. [[Module:Template test case/sandbox|Sandbox]] and [https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Module%3ATemplate+test+case&page2=Module%3ATemplate+test+case%2Fsandbox Diff]. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 18:04, 23 May 2023 (UTC)
:Hmm. Would it make sense to have that be opt-in, at least initially, by adding a new {{para|format|syntaxhighlight}} (and/or {{para|format|syntax}} maybe) instead? Are there any weird border cases where {{tag|code|content={{tag|nowiki}}}} works, but {{tag|syntaxhighlight|attribs=lang{{=}}"mediawiki" inline}} might break? [[User:FeRDNYC|FeRDNYC]] ([[User talk:FeRDNYC|talk]]) 04:00, 15 July 2023 (UTC)
|