cancel
Showing results for 
Search instead for 
Did you mean: 

What are useful formatting "tricks" for comments?

1,841

Note: The following question was posted as a comment to that FAQ possibly because there is not formatting tool for comments, in contrast to questions and answers...

AIK wrote:

Thanks to Graeme for showing me how to create the embedded link. That's nice. Can you point me to a documentation that shows other useful "tricks" for this particular form?

Thanks.

Vlad
Product and Topic Expert
Product and Topic Expert
0 Kudos

I don't know these tricks. I have noticed that comments & posts accept simple HTML tags such as , .

Or header3

header2

Accepted Solutions (0)

Answers (2)

Answers (2)

Breck_Carter
Participant
0 Kudos

Over time I have drifted to raw HTML, especially in comments but also in questions and answers.

IMO the most useful tags are a, b, blockquote, img and pre. Sometimes br, h2, hr.

Tips

The width attribute of img is an easy way to shrink images; just width, not height, to force the browser to scale; for example img src="https://i.imgflip.com/1f05x8.jpg" width="100":

Use b together with a to make the links stand out.


Plus...

Don't try to fight the CSS used by this forum.
Just be happy it doesn't use Fiori :)

Vlad
Product and Topic Expert
Product and Topic Expert
0 Kudos

You don't like Fiori, I see (-_-)

VolkerBarth
Contributor
0 Kudos

Well, while the question and answer editor have both

  • their toolbar to choose formatting/link options via the according symbols and
  • display "Markdown Basics" in the right pane,

you can also use the same syntax within comments, as documented here:

Markdown Help

Furthermore, in order to display formatted code as-is (say, for SQL statements, console log contents, query results), it's easiest to surround those with a

<pre> tag pair.


Note, sometimes the WYSIWYG preview below the question/answer editor does display things differently than the real view...