hexpressions example
This commit is contained in:
8
examples/hexpressions/main.hank
Normal file
8
examples/hexpressions/main.hank
Normal file
@@ -0,0 +1,8 @@
|
||||
~ var test = "dynamic content";
|
||||
Have you tried inserting {test} in your Hank stories?
|
||||
~ var good = true;
|
||||
Rumor has it, it can be {if (good) {
|
||||
'rewarding'
|
||||
} else {
|
||||
'obnoxious'
|
||||
}} to write a story with {test}.
|
||||
2
examples/hexpressions/test1.hlog
Normal file
2
examples/hexpressions/test1.hlog
Normal file
@@ -0,0 +1,2 @@
|
||||
Have you tried inserting dynamic content in your Hank stories?
|
||||
Rumor has it, it can be rewarding to write a story with dynamic content.
|
||||
Reference in New Issue
Block a user