You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
549 B
36 lines
549 B
include yslt.yml2
|
|
|
|
tstylesheet {
|
|
include standardlib.ysl2
|
|
|
|
template "/" {
|
|
apply "/DSLName//recipe", 0
|
|
}
|
|
|
|
template "recipe" document "build/recipe_{@name}.md", "text" {
|
|
||
|
|
# «@name»
|
|
|
|
## Ingedients
|
|
``apply "ingredients", 0
|
|
|
|
## Preparation
|
|
«text()»
|
|
||
|
|
}
|
|
|
|
template "ingredients", "text" {
|
|
||
|
|
The ingredients you need:
|
|
``apply "item", 0
|
|
||
|
|
}
|
|
|
|
template "item", "text" {
|
|
||
|
|
* «@name»
|
|
||
|
|
}
|
|
|
|
}
|
|
|
|
|