(There is an intentional leading whitespace on code fence code for it to display correctly)
Registry [.reg
] code used to display correctly, and still does on some questions/answers, however on others it doesn't, and there's no obvious reason why. Ever since Superuser switched what's used for syntax highlighting, very few Windows syntaxes work correctly and they do not work the same across all questions/answers on Superuser, regardless of the Windows syntax used, which is baffling.
It would be nice for Superuser to embrace Windows syntax highlighting since equal amounts of content on Superuser is Windows related, as syntax primarily used on non-Windows languages always seems to work and work consistently across questions/answers.
Correctly Displayed
<!-- language-all: lang-powershell -->
: Will randomly display.reg
code correctly on some questions/answers, but not others, whereas```powershell
code fence will not (content too long to display editor)
Unremovable items from New right-click menu
<!-- language-all: lang-reg -->
: Will randomly display.reg
code correctly on some questions/answers, but not others, same for```reg
code fence
Set windows 10 certificate import wizard as default when opening files
Incorrectly Displayed
```reg
: Will randomly display.reg
code correctly on some questions/answers, but not others, same for<!-- language-all: lang-reg -->
Create .REG file to edit only single Octet at specific address in Binary Value without affecting other bytes in binary data
Some .exe files have blank icons on taskbar despite having icons
<!-- language-all: lang-reg -->
:
Some .exe files have blank icons on taskbar despite having icons
<!-- language-all: lang-powershell -->
:
Some .exe files have blank icons on taskbar despite having icons