37

Since the Stack Snippet is being misused, let us make it a feature!

My proposal is to add a dropdown to select the language, and let people paste their code inside to format the code. The language hint to trigger Stack Snippet is not added for any languages other than HTML/JavaScript/CSS.

The default option in the dropdown should detect the language based on tag, using the same tag-based detection supply to Google Code Prettify.

What do you guys think?

1
  • 13
    yes, please I am sick of editing tons of VBA code as snippets... Commented Oct 31, 2014 at 11:29

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.