Skip to content

Commit

Permalink
conscript,example: add whitelist example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcKaufmann committed Mar 13, 2024
1 parent f2d051d commit 3c20c96
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion congame-example-study/conscript-easy-forms.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
4. @button[#:to-step-id 'display-math]{Display Math with Latex: Mathjax}
5. @button[#:to-step-id 'labeled-submit-button]{Submit button with custom text}
6. @button[#:to-step-id 'free-form-forms1]{Free-Form Forms}
7. @button[#:to-step-id 'vertical-whitespace]{More whitespace between paragraphs}

The buttons on this page show that you can jump to different pages by providing a `#:to-step-id` argument to `button`.
})
Expand Down Expand Up @@ -211,6 +212,27 @@
}
@submit-button}}})

(defstep (vertical-whitespace)
@md{
# More Vertical Whitespace

Let us add more more whitespace after this.
\
\
\
\
Lots of it.

@html*{
In `html`, you do it via the `br` tag.
@br{}
@br{}
@br{}
See? Easy.
}

@button{Back to Choice Page}})

(defstudy easy-forms
[choose-page --> choose-page]

Expand All @@ -226,4 +248,6 @@

[labeled-submit-button --> choose-page]

[free-form-forms1 --> display-results --> choose-page])
[free-form-forms1 --> display-results --> choose-page]

[vertical-whitespace --> choose-page])

0 comments on commit 3c20c96

Please sign in to comment.