New answers tagged

6

You're almost there, you just have to reverse the order of the formatting: **`bold`** produces bold *`italic`* produces italic As you can see, this works in posts as well.


5

All of your examples contain newlines. This makes them multi-line messages. Chat does not currently support rendering markdown in multiline messages.


0

Testing image links for images that really don't need an 'open in new tab' link on hover. [![enter image description here][1]][1] vs ![enter image description here][1] & for MM… ![TITLE: REPORT TITLE][2] [2]: https://i.stack.imgur.com/HbbYw.png


6

Treating a double newline specially is not how Markdown works. To terminate a list or other indented Markdown content, you can use an empty comment instead. For example: - foo - bar <!-- --> code { block } which renders as: foo bar code { block }


4

Use fences rather than indenting code blocks: - Foo the bar - bar the foo ``` Foo = bar / 12 bar = 6 / Foo ``` Foo the bar bar the foo Foo = bar / 12 bar = 6 / Foo


0

This is quite old but there I go. What worked for me was to tab once after each line that is followed by another line. Item 1.1. Sub item 1.2. Sub item Item 2.1. Sub item 2.2. Sub item


2

It's a code tag, not a formatting tag. If it's code snippets, configuration file snippets or something shown in a console, and requires formatting to be preserved to make sense use code tags. For many languages on sites like SO this also gives you syntax highlighting. You do not use code blocks to format things - usually. 'You use the decimal type' and '...


2

You can make a very nice-looking named code block using small headers and inline code, like so: #### **`hello_world.js`** ``` js alert("Hello world!"); ``` hello_world.js alert("Hello world!"); I've accidentally found it in this post on Formatting Sandbox and just don't want this great trick to get lost there as I was unsuccessfully looking for ...


Top 50 recent answers are included