summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/wikilike.in.osml
blob: 88ffa85270b71d7c12623fee9645c2267b3f2de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\begin{document}
\import[ontology]{./wikilike.osml}
\begin{book}
== This tests somewhat plays with user defined syntax ==

As you -- surely -- can see, just the tiny `\\syntax` definitions above make writing documents
much easier.

For instance, this is a new paragraph.

And here goes another one.

All with the power of just adding `\\close\{\\paragraph\}` to the `\\syntax`
definition of the paragraph structure.

<<Well, that's insane!>>, I hear you say. Right so! This indeed is insane.

== One last thing ==

Did you notice how we started sections here?

Sections can be allowed to use Wiki-like syntax with only three lines of code. Awesome!
\end{book}
\end{document}