You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/reference-markdown-format.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,13 @@ ms.date: 01/09/2020
7
7
8
8
# Markdown format supported in QnA Maker answer text
9
9
10
-
Following is the list of markdown formats that you can use in QnA Maker's answer text.
10
+
QnA Maker stores answer text as markdown. There are many flavors of markdown. In order to make sure the answer text is returned and displayed correctly, use this reference.
11
+
12
+
Use the **[CommonMark](https://commonmark.org/help/tutorial/index.html)** tutorial to validate your Markdown. The tutorial has a **Try it** feature for quick copy/paste validation.
11
13
14
+
## Supported markdown format
15
+
16
+
Following is the list of markdown formats that you can use in QnA Maker's answer text.
12
17
13
18
|Purpose|Format|Example markdown|Rendering<br>as displayed in Chat bot|
14
19
|--|--|--|--|
@@ -29,7 +34,7 @@ A new line between 2 sentences.|`\n\n`|`How can I create a bot with \n\n QnA Mak
29
34
30
35
*QnA Maker doesn't process the image in any way. It is the client application's role to render the image.
31
36
32
-
If you want to add content using update/replace knowledgebase APIs and the content/file contains html tags, you can preserve the HTML in your file by ensuring that opening and closing of the tags are converted in the encoded format.
37
+
If you want to add content using update/replace knowledge base APIs and the content/file contains html tags, you can preserve the HTML in your file by ensuring that opening and closing of the tags are converted in the encoded format.
33
38
34
39
| Preserve HTML | Representation in the API request | Representation in KB |
0 commit comments