Linked Questions

145 votes
3 answers
164k views

How to combine bold and "code sample" in Markdown? [duplicate]

How can I make a word in a code sample bold? I only see asterisks around the expected bold text. sample **sample** sample
Meysam's user avatar
  • 3,950
1 vote
2 answers
2k views

Strong, bold, and backtick not working when trying to style a text piece [duplicate]

Please, take a look at this post in SO. I've tried to make some part of the text bold to make the change noticeable. But it doesn't make it bold, instead it just adds leading and trailing **. Here, in ...
Mikayil Abdullayev's user avatar
0 votes
1 answer
1k views

Bold / Italics in codeblocks [duplicate]

Possible Duplicate: Bold code in a question Allow highlighting certain bits of a code fragment or quote Am I missing something? Can one not put either bold or italics inside codeblocks / ...
user66001's user avatar
  • 1,512
-4 votes
1 answer
134 views

Add a way to highlight/emphasize changes in code [duplicate]

Answers to coding questions often use a minor change to the example code. But because it's code, you cant emphasize those differences with markdown syntax. See example below where I've done some ...
brentonstrine's user avatar
-2 votes
1 answer
98 views

Formatting the code block? [duplicate]

Possible Duplicate: Bold code in a question Allow highlighting certain bits of a code fragment or quote Is there a way to apply rich formatting to some parts of your code? Sometimes, I have to ...
Saad Rehman Shah's user avatar
-6 votes
1 answer
142 views

Can you enable bolding/italicising of text within code samples? [duplicate]

Possible Duplicate: Bold code in a question Right now, if I try to bold the text within a code sample, the site simply wraps '**' around the selected text. In other words, I am unable to format ...
Bug Magnet's user avatar
6 votes
1 answer
93 views

Highlight code in code samples [duplicate]

Some times, when pasting a chunk of code I want to highlight where the fault is or where I want to highlight attention. For a real example, my question could be about why the MSDN doesn't use a full ...
Dave's user avatar
  • 909
3 votes
0 answers
65 views

Strikethrough text in a code sample [duplicate]

How can I strikethrough code in a Code Sample. I would like to acheive this Console.WriteLine("Strikethrough"); // A Hello World! program in C#. using System; namespace HelloWorld { class ...
CodingDawg's user avatar
1 vote
1 answer
44 views

Is there a way to make the text in the code section highlighted? [duplicate]

Possible Duplicate: Bold code in a question I have seen this question, which is very old (december 2009). Are there any updates to it? Is it now possible to mark a line in the code section? (...
BЈовић's user avatar
  • 6,516
52 votes
3 answers
1k views

Allow highlighting certain bits of a code fragment or quote

It would be nice to be able to put emphasis on specific bits of a fragment or of a quote (bold can help for a quote but I find that it makes things less readable sometimes). What do you think? Update: ...
Pascal Thivent's user avatar
5 votes
2 answers
10k views

Bold or italics in Markdown inline code [duplicate]

I would like to add bold (or italic) text to inline code (not a block of code). So in one **two** three, I would like "two" to be bold rather than surrounded by asterisks. Note: This is a similar ...
Trevor's user avatar
  • 233
6 votes
2 answers
10k views

&para turns into ¶ within PRE

Within a <PRE> block, &para turns into a new paragraph symbol: ¶ I use <PRE> blocks for code when I want to bold, so a function that's written void go( ObjectA &parameter1, ...
bobobobo's user avatar
  • 13.7k
4 votes
1 answer
1k views

underlining with `<u>` does not work in `<pre>` [duplicate]

Possible Duplicate: What HTML tags are allowed on Stack Exchange sites? Within the <pre>-environment the tag <u> has no visible effect (Firefox 7.0.1 but also earlier like 3.6.17). I ...
false's user avatar
  • 2,742
8 votes
0 answers
114 views

Provide a proper way to indicate error messages that is visually distinct from quotes and actual code

Error messages are a fairly common thing to mention, in both questions and answers, across many Stack Exchange communities. I think it would be valuable to have a markdown syntax to denote error ...
Solomon Rutzky's user avatar