Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Possible Duplicate:
Allow highlighting certain bits of a code fragment or quote

In dealing with a wall of code, it would be handy to be able to paint some of it red, or bold, or something. Editing the question to highlight the part that actually matters can be an effective part of answering.

Since the syntax highlighter knows from comments, you could recognize:



as matching delimiters (using whatever comment syntax is active).

share|improve this question

marked as duplicate by waiwai933, Jon Seigel, Jeff Atwood Dec 21 '10 at 3:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I agree, but it will be tough -- show me a syntax for highlighting a line in a text block, and I'll show you a Perl snippet that needs that syntax to be shown verbatim! – j_random_hacker Dec 21 '10 at 1:10

I agree generally; If I had to post a large block, but point out a smaller subset, I would probably surround the relevant lines with flowerbox code comments above and below, and point it out in the question text.

Trying to apply style like bold or italic does not seem to work, so that works OK instead, for me.

private void exampleMethod()
    ImportantStuff(arg1, arg2);

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .