Markdown and LaTeX

In Flashtex you can write questions and answers in markdown format with integrated $\LaTeX$ formulas.

This guide is also available in the app settings (“Markdown and LaTeX in Flashtex”) or the card editor (?).

LaTeX

You can render $\LaTeX$ mathematical expressions using $\KaTeX$.

Wrap your math formulas with one $ to write inline math and use two $ signs for displayed math.

Let $x=3$ and $$f(x)=x^2$$

will be rendered as

Let $x=3$ and \(f(x)=x^2\)

You can find supported functions at $\KaTeX$.

Paragraphs

Paragraphs are just one or more lines of consecutive text followed by one or more blank lines.

Sol amica, non iam asillacet stare esse st essatrat. Quine exspectacet. Subit? Cur Amica, non placet sine ce! Quis villa sinus viam cet sol, non ia? 

Cur venire ca sine asintium clacet estat. Eccet st? Etiam amat? Cur Amicanit? Non vilenis silentiacessat, asillacet est estat. Quis villa non plaviacet.

Highlight

To highlight a word or sentence wrap it with two colons.

For example This is very :​:important:​: gets: This is very important.

Headings

You can create a heading by adding one or more # symbols before your heading text. The number of # you use will determine the size of the heading.

# The largest heading
## The second largest heading##### The 5th largest heading

Block Quotation

You can indicate block quotes with a >.

> This is a block quote

Cloze deletion

Simply wrap the phrase that should be hidden with two square brackets [[ and ]].

Bold and Italic

You can make text bold or italic.

*This text will be italic*
**This text will be bold**
**This text will be bold and _italic_**

Both bold and italic can use either a * or an _ around the text for styling.

Strikethrough

Add a tilde (~) characters around a word or groups of words.

a ~strikethrough~ element

Code

Use single back ticks (`) to format text in a special monospace format and use three back ticks for a block of code.

Unordered lists

You can make an unordered list by preceding list items with either a *, a - or a +.

* Item
+ Item
- Item

Ordered lists

You can make an ordered list by preceding list items with a number.

1. Item 1
2. Item 2
3. Item 3

It’s important to note that the actual numbers you use to mark the list have no effect on the output Flashtex produces. So you can use the same number in all items if you wish to.

Nested lists

You can create nested lists by indenting list items.

1.  Item 1
    1. A corollary to the above item.
    2. Yet another point to consider.
2.  Item 2
    * A corollary that does not need to be ordered.
    * This is indented four spaces
    * You might want to consider making a new list.
3.  Item 3

You can create an inline link by wrapping link text in brackets ( [ ] ), and then wrapping the link in parentheses ( ( ) ).

[Personal Website](https://kruschel.dev/)

Images

Inline image syntax looks like this:

![Alt text](url/to/image)

![Alt text](url/to/image "Optional title")

You can define the image dimensions, like this:

![Alt text](url/to/image =250x250 "Optional title")

![Alt text](url/to/image =250x* "Optional title")

Tables

Tables look like this

| Tables        | Are           | Cool   |
| ------------- |:-------------:| ------:|
| **col 3 is**  | right-aligned |   1600 |
| col 2 is      | *centered*    | $x=12$ |