pandoc/test/command/3853.md

29 lines
399 B
Markdown
Raw Normal View History

```
% pandoc -f latex -t native
\newtoggle{ebook}
\toggletrue{ebook}
\iftoggle{ebook}{
ebook
}%
{
not ebook
}%
more
\togglefalse{ebook}
\iftoggle{ebook}{%
ebook
}{
not ebook
}%
more
hello \iftoggle{ebook}{ebook}{noebook}
^D
[ Para [ Str "ebook" , SoftBreak , Str "more" ]
, Para
[ Str "not" , Space , Str "ebook" , SoftBreak , Str "more" ]
, Para [ Str "hello" , Space , Str "noebook" ]
]
```