Skip to main content
1 of 3
Larnu
  • 1k
  • 6
  • 16

Will the default code markup be changed to code fences?

Currently if you click the code ({}) icon in the editor, then the selected text is still indented (or unindented) by 4 white spaces.

enter image description here

As the indent method's way of defining a language for a specific code block (<!-- language: python --> for example) no longer works (or due to stop working), then shouldn't the default functionality of the button be to wrap the code in a code fence (```) instead?

Larnu
  • 1k
  • 6
  • 16