This question originally appeared in the SQL Anywhere Forum BETA as http://sqlanywhere-forum.sap.com/questions/4457/backslashes-in-sql-anywhere-forum

How do I get backslashes to appear properly in my SQL Anywhere Forum question or answer?

This question is marked "community wiki".

asked 03 Mar '11, 14:08

Ian%20McHardy's gravatar image

Ian McHardy
3.4k23557
accept rate: 40%

edited 18 Mar '11, 12:51

Mark%20Culp's gravatar image

Mark Culp
24.9k10139297


One thing that I had to get used to when using markdown (the text format language used by SQL Anywhere Forum) is backslashes. If I type c:\temp in the body of a question or answer, it appears as c:temp. In order to get backslashes to display properly, you can:

  1. use back quotes (`) around the path - entering `c:\temp` appears as c:\temp
  2. double the backslashes - entering c:\\temp appears as c:\temp
  3. put the path in a code block (indent it by 4 spaces):

.

c:\temp
permanent link

answered 03 Mar '11, 14:09

Ian%20McHardy's gravatar image

Ian McHardy
3.4k23557
accept rate: 40%

...and I bet the "doubled backslashes" method will be the most common to all SQL users:)

(03 Mar '11, 14:21) Volker Barth

What's about formatting *words_with_underscores* (also in bold: words_with_underscores)? Do they need to get masked with a backslash as in SQLA? - Obviously not.

Note: The preview does show the following as bold/italic/bold (what lead to my observation) but the real display is o.k.

**words_with_underscores**

Something to be improved?

(Note: In SQLA, the display is different: Underscores within italics prevent the rendering as italics.)

permanent link

answered 03 Mar '11, 14:20

Volker%20Barth's gravatar image

Volker Barth
39.9k360547816
accept rate: 34%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×178

question asked: 03 Mar '11, 14:08

question was seen: 2,398 times

last updated: 18 Oct '16, 07:42