• CSDocument User's Guide
    • Introduction to CSDocument
    • Files
    • CSPro Document Tags
      • Special Definitions
      • Markdown Transformations
    • Export Outputs
    • Settings
    • Troubleshooting

Markdown Transformations

When using the <md> tag to specify Markdown, the element content will be converted to HTML, with special processing for the following Markdown elements:
Markdown ElementCSPro Document Equivalent
# H1<title>H1</title>
## H2<subheader>H2</subheader>
 
**bold**<b>bold</b>
*italic*<i>italic</i>
 
[CSPro Users](https://csprousers.org)<link "https://csprousers.org">CSPro Users</link>
 
![Traffic Light](run_button.png)<image run_button.png />
 
```
errmsg
```
<logic>
errmsg
</logic>
 
```JavaScript
// language name specified
```
<color JavaScript>
// language name specified
</color>
All other Markdown elements are converted directly to their HTML elements. For example, ### H3 will result in <h3>H3</h3>.