<python>
# This file is part of CAT-SOOP
# Copyright (c) 2011-2025 by The CAT-SOOP Developers <catsoop-dev@mit.edu>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

cs_title = "CAT-SOOP Markdown Formatting Help"
cs_content_header = "Markdown Formatting Help"
</python>

<center>
<style>
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding:10px;
}
</style>

<br/>

<table style="">
<tr>
<th width=50%>Syntax</th>
<th width=50%>Processed</th>
</tr>

<tr>
<td><pre>Text between underscores is _emphasized_.</pre></td>
<td><p>Text between underscores is <em>emphasized</em>.</p></td>
</tr>

<tr>
<td><pre>Text between double asterisks is **bold**.</pre></td>
<td><p>Text between double asterisks is <strong>bold</strong>.</p></td>
</tr>

<tr>
<td><pre>Text between backticks is formatted as `code`.</pre></td>
<td><p>Text between backticks is formatted as <code>code</code>.</p></td>
</tr>

<tr>
<td><pre>For a larger block of code, surround the code with three backticks:

```
def foo(x):
    print(x + 2)
```</pre></td>
<td><p>For a larger block of code, surround the code with three backticks:

<pre><code>def foo(x):
    print(x + 2)</code></pre></p></td>
</tr>


<tr>
<td><pre>To enable syntax highlighting on a large code block, include the name of the programming language after the first set of three backticks:

```python
def foo(x):
    print(x + 2)
```</pre></td>
<td><p>To enable syntax highlighting on a large code block, include the name of the programming language after the first set of three backticks:

<pre><code class='lang-python'>def foo(x):
    print(x + 2)</code></pre></p></td>
</tr>


<tr>
<td><pre>Text between dollar signs is formatted as math (LaTeX): $x^2$</pre></td>
<td><p>Text between dollar signs is formatted as math (LaTeX): <math>x^2</math></p></td>
</tr>

<tr>
<td><pre>Text between double dollar signs is formatted as display math (LaTeX): $$\sum_{a=0}^\infty a^n$$</pre></td>
<td><p>Text between double dollar signs is formatted as display math (LaTeX): <displaymath>\sum_{a=0}^\infty a^n</displaymath></p></td>
</tr>

<tr>
<td><pre>Asterisks denote a

* bulleted
* list</pre></td>
<td>Asterisks denote a
<ul>
<li>bulleted</li>
<li>list</li>
</ul></td>
</tr>

<tr>
<td><pre>A number followed by a period denotes a

1. numbered
1. list</pre></td>
<td>A number followed by a period denotes a
<ol>
<li>numbered</li>
<li>list</li>
</ol></td>
</tr>

<tr>
<td><pre>[Link to CAT-SOOP](https://catsoop.org)</pre></td>
<td><p><a href="https://catsoop.org">Link to CAT-SOOP</a></p></td>
</tr>

<tr>
<td><pre>![Image](https://catsoop.org/_static/_base/images/logo.svg)</pre></td>
<td><p><img alt="Image" src="https://catsoop.org/_static/_base/images/logo.svg" /></p></td>
</tr>

</table>
</center>
