added macro excaping to docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-08-15 18:13:08 +03:00
parent a44181cc97
commit 54c1919dfb
2 changed files with 29 additions and 1 deletions

2
bootstrap.js vendored

File diff suppressed because one or more lines are too long

View File

@ -24,6 +24,34 @@ The two forms exist to fill two distinct functions:
- inline: compatible with attribute values and short
- html-like: element-like, simpler when dealing with html
### Escaping macros
Macros can be escaped for inclusion in the page, the two types of macros
are escaped a bit differently:
- inline macros -- escaped by preceding with a `\`
```
\\@include(SomePage)
```
Displayed in page as:
\@include(SomePage)
- html-like macros -- escaped _the HTML way_
```
&lt;include src="SomePage"\&gt;
```
Displayed in page as:
&lt;include src="SomePage"\&gt;
## Macros