1====== Template for JSON Generate Document Demo ====== 2 3===== Standard patterns from Namespace Templates ===== 4''This page ID is: @''''ID@.'' 5 6This page ID is: playground:jsongendoc_demo:result_caramel. 7 8 9===== Show or remove sections ===== 10''@%''''$-start(name == Caramel sauce)%''\\ 11''==== Caramel sauce specific section ====''\\ 12''%''''$end%@'' 13 14 15==== Caramel sauce specific section ==== 16 17 18''@%''''$-start(Ingredients.chocolate)%''\\ 19''This part is only shown, if [''''[https:/''''/en.wikipedia.org/wiki/Chocolate|chocolate]] is used.''\\ 20''%''''$end%@'' 21 22 23 24 25===== Extract data ===== 26''==== @%''''$name%@ ===='' 27 28==== Caramel sauce ==== 29 30''Type: @%''''$type%@, sugar: @%''''$Ingredients.sugar%@.'' 31 32Type: sweet sauce, sugar: 200 g. 33 34''<co''''de javascript>''\\ 35''@%''''$Ingredients%@''\\ 36''</c''''ode>'' 37 38<code javascript> 39{"sugar":"200 g","water":"2 spoons","cream":"250 ml"} 40</code> 41