Use dev version of djoths.

This commit is contained in:
John MacFarlane
2026-08-16 11:17:32 -07:00
parent 6107a26945
commit 8139d6bc1c
3 changed files with 104 additions and 3 deletions
+102 -1
View File
@@ -418,10 +418,46 @@ bar
Interpreted markdown in a table:
```=html
<table>
```
```=html
<tr>
```
```=html
<td>
```
This is _emphasized_
```=html
</td>
```
```=html
<td>
```
And this is *strong*
```=html
</td>
```
```=html
</tr>
```
```=html
</table>
```
```=html
<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
```
Here's a simple block:
:::
@@ -458,8 +494,25 @@ foo
This should just be an HTML comment:
```=html
<!-- Comment -->
```
Multiline:
```=html
<!--
Blah
Blah
-->
```
```=html
<!--
This is another comment.
-->
```
Code block:
```
@@ -468,6 +521,10 @@ Code block:
Just plain comment, with trailing spaces on the line:
```=html
<!-- foo -->
```
Code:
```
@@ -476,6 +533,42 @@ Code:
Hr's:
```=html
<hr>
```
```=html
<hr />
```
```=html
<hr />
```
```=html
<hr>
```
```=html
<hr />
```
```=html
<hr />
```
```=html
<hr class="foo" id="bar" />
```
```=html
<hr class="foo" id="bar" />
```
```=html
<hr class="foo" id="bar">
```
* * * *
{#inline-markup}
@@ -533,7 +626,7 @@ Ellipses...and...and....
{#latex}
# LaTeX
-
- `\cite[22-23]{smith.1899}`{=tex}
- $`2+2=4`
- $`x \in y`
- $`\alpha \wedge \omega`
@@ -553,6 +646,14 @@ These shouldn't be math:
Here's a LaTeX table:
```=tex
\begin{tabular}{|l|l|}\hline
Animal & Number \\ \hline
Dog & 2 \\
Cat & 1 \\ \hline
\end{tabular}
```
* * * *
{#special-characters}