kota's memex

headings

They can be created by starting a line with one or multiple equals signs, followed by a space. The number of equals signs determines the heading's logical nesting depth.

= Introduction
In recent years, ...

== Preliminaries
To start, ...

emph

Note that this only works at word boundaries. To emphasize part of a word, you have to use the function.

This is _emphasized._ \
This is #emph[too.]

strong

Increases the current font weight by a given delta.

This is *strong.* \
This is #strong[too.]

raw

Raw text with optional syntax highlighting. It works exactly like markdown.

lists

unordered

Normal list.
- Text
- Math
- Layout

ordered

Automatically numbered:
+ Preparations
+ Analysis
+ Conclusions

Manually numbered:
2. What is the first step?
5. I am confused.
+  Moving on ...

Multiple lines:
+ This enum item has multiple
  lines because the next line
  is indented.

images

#image("logo.svg")

links

Text that starts with http:// or https:// is automatically turned into a link.

By default, links do not look any different from normal text. However, you can easily apply a style of your choice with a show rule.

#show link: underline

https://example.com \

#link("https://example.com") \
#link("https://example.com")[
  See example.com
]

quote

Displays a quote alongside an optional attribution.

Plato is often misquoted as the author of #quote[I know that I know
nothing], however, this is a derivation form his original quote:

#set quote(block: true)

#quote(attribution: [Plato])[
  ... ἔοικα γοῦν τούτου γε σμικρῷ τινι αὐτῷ τούτῳ σοφώτερος εἶναι, ὅτι
  ἃ μὴ οἶδα οὐδὲ οἴομαι εἰδέναι.
]
#quote(attribution: [from the Henry Cary literal translation of 1897])[
  ... I seem, then, in just this little thing to be wiser than this man at
  any rate, that what I do not know I do not think I know either.
]

outline

This function generates a list of all occurrences of an element in the document, up to a given depth. The element's numbering and page number will be displayed in the outline alongside its title or caption.

#outline()

= Introduction
#lorem(5)

= Methods
== Setup
#lorem(10)