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_ganache. 7 8 9===== Show or remove sections ===== 10''@%''''$-start(name == Caramel sauce)%''\\ 11''==== Caramel sauce specific section ====''\\ 12''%''''$end%@'' 13 14 15 16''@%''''$-start(Ingredients.chocolate)%''\\ 17''This part is only shown, if [''''[https:/''''/en.wikipedia.org/wiki/Chocolate|chocolate]] is used.''\\ 18''%''''$end%@'' 19 20 21This part is only shown, if [[https://en.wikipedia.org/wiki/Chocolate|chocolate]] is used. 22 23 24 25===== Extract data ===== 26''==== @%''''$name%@ ===='' 27 28==== Ganache ==== 29 30''Type: @%''''$type%@, sugar: @%''''$Ingredients.sugar%@.'' 31 32Type: sweet sauce, sugar: null. 33 34''<co''''de javascript>''\\ 35''@%''''$Ingredients%@''\\ 36''</c''''ode>'' 37 38<code javascript> 39{"chocolate":"250 g","cream":"250 ml"} 40</code> 41