File: markdown_in_html.text

package info (click to toggle)
python-markdown2 2.3.7-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,952 kB
  • sloc: python: 2,790; makefile: 35
file content (35 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Using headings to test toc and markdown-in-html together

- apples
- bananas

<div markdown="1">
This is *true* markdown text.
</div>

<div class="bar" markdown="1">
## This **too**.

And a paragraph
</div>

<div markdown="1" class="foo">
And **this**.
</div>

<section markdown="1">
And even **this** in an HTML5 block tag.
</section>

# Veggies

- carrots
- lettuce

<!-- This isn't currently supported (as it is in PHP Markdown), but it
     might be one day. -->
<table>
<tr>
<td markdown="1">This is *true* markdown text.</td>
</tr>
</table>