hyper-literate/scribble-test/tests/scribble/docs/cond.scrbl
2014-12-02 00:54:52 -05:00

21 lines
351 B
Racket

#lang scribble/base
@(require scriblib/render-cond)
@(cond-element
[text "Text!"]
[html "HTML!"]
[latex "Latex!"]
[markdown "Markdown!"])
@(cond-element
[(or text html) "Text or HTML!"]
[else "Latex!"])
@(cond-element
[(and text html) "Text and HTML?!"]
[else "Other!"])
@(cond-element
[(not text) "Not Text!"]
[else "Text!"])