Quantcast
Channel: Convert code snippet to code block button - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 2

Convert code snippet to code block button

$
0
0

In the tags I frequent (C# and ASP.NET) the code snippet feature is often used incorrectly. Code snippets do not support ASP.NET controls, inline syntax from ASP.NET Web Forms or Razor, and certainly don't support server side code.

So when I come across those, I edit the question and convert them from code snippets to code blocks. But I've had to do it enough times that I think it's something we can automate, making it quick and painless to fix.

Can we get a button on the edit page that will automatically convert all code snippets to code blocks in a post? Maybe even auto add the edit summary:

Code snippets only support HTML, CSS, and JavaScript. Converted to code block.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images