Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for conditional printing #3

Open
lemilonkh opened this issue Feb 26, 2017 · 1 comment
Open

Support for conditional printing #3

lemilonkh opened this issue Feb 26, 2017 · 1 comment
Assignees
Projects

Comments

@lemilonkh
Copy link
Owner

lemilonkh commented Feb 26, 2017

Syntax:

<% if(myBool) %>
Only printed if myBool == true
<% endif %>

<% if(myVar == 5) %>
Simple value checks
<% elif(myVar > 8) %>
Elif/Else Support, lower than/ greater than for ints and floats
<% else %>
[[Link to sth]]
<% endif %>
@lemilonkh lemilonkh added this to the Working Prototype milestone Feb 26, 2017
@lemilonkh lemilonkh self-assigned this Feb 26, 2017
@lemilonkh lemilonkh added this to Backlog in TwineStory Feb 26, 2017
@lemilonkh
Copy link
Owner Author

Depends on #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
TwineStory
Backlog
Development

No branches or pull requests

1 participant