# Pasting in-line text containing \\

**URL:** <https://swi-prolog.discourse.group/t/pasting-in-line-text-containing/1303>\
**Category:** Discourse forum Feedback\
**Created:** [September 23, 2019, 9:35pm UTC](https://swi-prolog.discourse.group/t/pasting-in-line-text-containing/1303 "2019-09-23T21:35:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [September 23, 2019, 9:35pm UTC](https://swi-prolog.discourse.group/t/pasting-in-line-text-containing/1303/1 "2019-09-23T21:35:17Z")

</div>

FYI

If you use the `\` character with in-line text, e.g. `\=` or `\+` it will be converted to `=` or `+` which is probably not what you desired. While Discourse tries to be intelligent abut converting pasted text to HTML, it also uses [Markdown](https://enterprise.github.com/downloads/en/markdown-cheatsheet.pdf) and Markdown uses `\` as an escape character.

Example of doing it wrong, = and +.

For in-line code just bookend the text with `, e.g. `\=` or `\+` which appears as`\=` or `\+`.

or

just double up on the \, e.g. pasting \\= or \\+ appears as \= or \+.

However if you have several lines of of code, bookend the code section with ````prolog` and ````` and the code section will be converted by the source code converter for Prolog which leaves the `\` alone.

```prolog
A \= b.
\+ true.

```

As a follow-up I added a [post](https://meta.discourse.org/t/html-rtf-pasting/55913/101) to the discussion at Meta Discourse asking that this be fixed for Discourse.
