markdown code formatting
This commit is contained in:
parent
a9ff092401
commit
79ac7534f2
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
```
|
||||
apply {{mustache_name}} to {{pages}}
|
||||
A = /html/head/text()
|
||||
struct B
|
||||
|
@ -15,10 +16,12 @@ end
|
|||
==mustache_name
|
||||
blah
|
||||
==end
|
||||
```
|
||||
|
||||
|
||||
The above should result in the following:
|
||||
|
||||
```
|
||||
A[]
|
||||
B[] --- C
|
||||
--- D
|
||||
|
@ -26,8 +29,11 @@ B[] --- C
|
|||
--- G
|
||||
--- H
|
||||
--- I[]
|
||||
```
|
||||
|
||||
For example, given these query results:
|
||||
|
||||
```
|
||||
A[] = {a1, a2, a3}
|
||||
C = c1
|
||||
D[] = {d1, d2}
|
||||
|
@ -35,9 +41,11 @@ F[] = {f1, f2, f3}
|
|||
G = g1
|
||||
h = h1
|
||||
i = i1
|
||||
```
|
||||
|
||||
then the complete result in tree form shall be:
|
||||
|
||||
```
|
||||
{
|
||||
A => [a1, a2, a3],
|
||||
B => [
|
||||
|
@ -76,6 +84,7 @@ then the complete result in tree form shall be:
|
|||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Please note that:
|
||||
|
||||
|
|
Loading…
Reference in a new issue