1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

updated README

This commit is contained in:
Aiko Mastboom 2013-05-02 00:12:47 +02:00
parent 35de929bbe
commit bc0c16c167

View File

@ -112,38 +112,41 @@ the following markers are handled.
Where type is:
script ->
#### script ->
<script src="/content/collection/name/attribute.js" type="text/javascript" charset="utf-8"></script>
style ->
#### style ->
<link href="/content/collection/name/attribute.css" media="all" rel="stylesheet" type="text/css">
less ->
#### less ->
<link href="/content/collection/name/attribute.css" media="all" rel="stylesheet" type="text/less">
markdaon ->
#### markdown ->
markdown__[collection]_[nameX]_[attribute]
Parses /content/collection/name/attribute into HTML (assuming the attribute contains MD) and include.
#### template ->
template__[collectionX]_[nameX]_[attributeX]__context__[collectionY]_[nameY]
Push /content/collectionX/nameX/attributeX thru Handlebars.. context=collectionY/nameY/attributeY and include
#### remove ->
remove_.*_end_remove
removes markers and everything in between.
#### not implemented yet:
### not implemented yet:
[type]__[collection]_[name]
script -> <script src="/content/collection/name.js"/>