Skip to main content
6 events
when toggle format what by license comment
Jan 26, 2021 at 23:15 comment added Michał Lipok I also asked if it could be choosed manually ?
Jan 26, 2021 at 22:54 history edited Ben KellyStaffMod CC BY-SA 4.0
added 20 characters in body
Jan 26, 2021 at 22:54 comment added Ben Kelly StaffMod Code highlighting in rich-text mode still leaves a bit to be desired. We don't want to try and autodetect what language you're attempting to use in real time as you type (for performance reasons), so we do it once when switching from markdown mode and keep the assumption. Even then, the logic doesn't take your post tags into consideration (yet), so it isn't a perfect emulation of the old process. We're still thinking on how to best handle code autodetection in rich-text mode. Thanks for the report!
Jan 26, 2021 at 19:54 comment added Rob I guess it's different, or broken for Glorfindel, because it's identified as plaintext for me. Screenshot.
Jan 26, 2021 at 19:39 comment added animuson StaffMod I believe that indicator is telling you which language that Hightlight.js will automatically highlight the code as in its current form, not that it automatically applied that language to the code block. If the code block had a defined language override on it, the "(auto)" part would not be there.
Jan 26, 2021 at 19:33 history answered GlorfindelMod CC BY-SA 4.0