Conditional Statements

RapidWeaver Current Mode

Elements gives you access to the current RapidWeaver mode inside of conditional statements. This can be particularly useful for showing content in edit mode or in preview when a certain property evaluates to true.

   Show this in edit

Else If Statements

Elements allows you to specify a number of else if statements to run before falling back to the else block. An @elseif statement works just like a regular @if statement and follows the same syntax.

    We’re in edit mode   
    And now in preview   
    The checkbox is ticked   
    Otherwise do this   

Last updated

We are Realmac Software. We make nice things.