Timeline for What's the difference between the two code formatting styles (code-fences vs indented blocks) regarding syntax highlighting?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 20, 2020 at 18:19 | history | edited | T.J. Crowder | CC BY-SA 4.0 |
Since this answer was accepted, link to MatDMo's answer, which I thought would be the accepted one!
|
Oct 20, 2020 at 18:03 | vote | accept | Owen Kelvin | ||
Oct 20, 2020 at 17:46 | comment | added | T.J. Crowder |
@zcoop98 - It's documented here: "You can use either one of the supported language codes, like lang-cpp or lang-sql , or you can specify a tag, and the syntax highlighting language associated with this tag will be used." I didn't know it either until Martijn Pieters pointed it out to me fairly recently.
|
|
Oct 20, 2020 at 17:37 | comment | added | zcoop98 | This is... kinda ground-breaking. I've never seen this referenced anywhere on the site before, and if accurate it helps explain some odd behaviors I've noticed. How did you learn this? | |
Oct 18, 2020 at 7:20 | comment | added | T.J. Crowder | @TheMaster - I was worried it was going too far into the TypeScript thing. But I've added an example from the linked feature request. | |
Oct 18, 2020 at 7:20 | history | edited | T.J. Crowder | CC BY-SA 4.0 |
added 558 characters in body
|
Oct 18, 2020 at 6:11 | comment | added | TheMaster | It can matter, particularly with function overloads Maybe you can demonstrate here. | |
Oct 17, 2020 at 13:53 | history | edited | T.J. Crowder | CC BY-SA 4.0 |
added 54 characters in body
|
Oct 17, 2020 at 13:39 | history | answered | T.J. Crowder | CC BY-SA 4.0 |