4 votes

Is it possible to get better <code> support inside of posts?

I've enabled syntax highlighting on Substrate's main site. Please refer to Glorfindel's answer or this MSE post for some basic guidance on how to use it.
JNat's user avatar
  • 101
3 votes

Is it possible to get better <code> support inside of posts?

Syntax highlighting can be enabled by staff, but you have to tell the system which one (Rust, JavaScript, or something else) needs to be applied. That can be done in two ways: explicit specification ...
Glorfindel's user avatar
3 votes

Is it possible to get better <code> support inside of posts?

ooh. If it could just default to ```rust if no other lang was specified that would be a ma zing.
Squirrel's user avatar
  • 3,809

Only top scored, non community-wiki answers of a minimum length are eligible