Ourbigbook Template subdir

split words: 460
Welcome to Ourbigbook version 0.9.1! Here's the table of contents:

1. Paragraphs, code, math

split toc "Ourbigbook Template subdir" words: 136
My first paragraph is amazing!
And the second one with inline code f(){} and inline server-side rendered maths with KaTeX: .
But if we want block code here it is:
f() {
  return 1;
}
and here is some block maths:
(1)
Ciro loves maths, and so equations can have titles, and references to math equations just work! See e.g.: Equation 2. "This is my favorite equation in the entire world!!!"
Equation 2. This is my favorite equation in the entire world!!!
(2)
We try to make anything escapable with a backslash, e.g.:
  • literal backslash \notmacro
  • code and math: ` and $
If you want more than three backticks in your insane code block, you can add more to the open:
Here  are three backticks:
```
Nice!
or you can also use the equivalent sane literals:
Here  are three backticks:
```
Nice!

2. Lists, tables, quotations

split toc "Ourbigbook Template subdir" words: 77
Meh, the usual. Insane list:
  • first item
  • second item
    • some nesting
    • and some more
  • third item
Sane list with explicit Ul:
  • first item
  • second item
And now for tables, see this one: Table 1. "My table title". Try clicking next to the headers sort the columns!
Table 1. My table title.
String col Integer col Float col
ab 2 10.1
a 10 10.2
c 2 3.4
c 3 3.3
And a quotation:
To be or not to be!
Ourbigbook is the answer.

3. References, headers, images

split toc "Ourbigbook Template subdir" words: 149
Ciro loves headers and headers!
Reference to a header: paragraphs, code, math.
Make it show the section number as well with {full}: Section 1. "Paragraphs, code, math".
The following header is set to be uppercase by default due to the {c} (upperCase): Ciro is awesome
This one isn't however: banana. But we can change:
Reference to the following image: Figure 1. "Xi Chrysanthemum is a very nice image".
Figure 1. Xi Chrysanthemum is a very nice image. Source.
An YouTube video: Video 1. "Sample YouTube video.".
Video 1. Sample YouTube video. Source.

3.1. Ciro is awesome

split toc "References, headers, images"

3.2. Banana

split toc "References, headers, images"

3.3. Unlimited header levels?!

split toc "References, headers, images" words: 72

3.3.1. My h4

split toc "Unlimited header levels?!" words: 72
3.3.1.1. My h5
split toc "My h4" words: 72
3.3.1.1.1. My h6
split toc "My h5" words: 72
3.3.1.1.1.1. My h7
split toc "My h6" words: 72
3.3.1.1.1.1.1. My h8
split toc "My h7" words: 72
3.3.1.1.1.1.1.1. My h9
split toc "My h8" words: 72
3.3.1.1.1.1.1.1.1. My h10
split toc "My h9"
3.3.1.1.1.1.1.1.1.1. My h11
split toc "My h10"
3.3.1.1.1.1.1.1.1.1.1. My h12
split toc "My h11"
3.3.1.1.1.1.1.1.1.1.1.1. My h13
split toc "My h12"
3.3.1.1.1.1.1.1.2. Header parent determined by ID!!!
split toc "My h9" words: 72
The parent of this header is determined by specifying it's ID with:
{parent=my-h9}
rather than by the number of = signs of this header.
This means that you don't need to worry about counting equal signs anymore!
And it is much easier to move large chunks of headers around! You only need to change the {parent=} of the toplevel one.
This is why when creating large documents, you should use parent exclusively.

4. Tags (child and parent arguments)

split toc "Ourbigbook Template subdir" words: 88
You can use the {child} or {parent} arguments of a link to tags headers with the current header.
These will show up on the metadata of a given header.
Note that metadata is only visible when the header is the toplevel header of a page, otherwise it would clutter your headers too much, so it is not very easy to see in this single page example.
But all headers get their own toplevel pages when using split headers: https://docs.ourbigbook.com/split-headers

4.1. Animal

split toc "Tags" words: 10

4.1.1. Ant

split toc "Animal"

4.1.2. Cow

split toc "Animal" words: 6
Oh, and cows are also mammals.

4.1.3. Flying animal

split toc "Animal" words: 4
Bats can fly.
But cats can't.

4.1.4. Mammal

split toc "Animal"
4.1.4.1. Cat
split toc "Mammal"
4.1.4.2. Bat
split toc "Mammal"