File: raw.test

package info (click to toggle)
haskell-djot 0.1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 560 kB
  • sloc: haskell: 3,440; makefile: 3
file content (38 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
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
36
37
38
Raw inline content:

```
`<a>`{=html}
.
<p><a></p>
```

Raw block-level content:

````
``` =html
<table>
```
.
<table>
````

You can't mix regular attributes and raw syntax:

````
`<b>foo</b>`{=html #id}
```
.
<p><code>&lt;b&gt;foo&lt;/b&gt;</code>{=html #id}
<code></code></p>
````

Attributes attached to raw content will just be ignored:

````
{.foo}
``` =html
<table>
```
.
<table>
````