Docs

This docs cover Code-only documents and assumes you have a basic understanding of Markdown and/or LaTex

Custom tags

Additional to what's available in Markdown, there are several custom tags that you can use:


<tex>

The content wrapped with this tag will use the Computer Modern Font, which is KaTeX's default font:


# My document


<tex>
This content used the Computer Modern font

</tex>

Normal font

<math>

The content wrapped with this tag will render as Math. You can always use $$ if you prefer:


# My document

My formula:
<math>
C^2 = A^2 + B^2
</math>

Or:

$$
C^2 = A^2 + B^2
$$

<justify>, <left>, <center>, <right>

This tags help with content alignment:


# My document

<justify>
This content is justified
</justify>

<left>
This content is aligned to the left
</left>

<center>
This content is centered
</center>

<right>
This content is aligned to the right
</right>

<mermaid>

This tag will insert a Mermaid chart:


# My document


<mermaid>

  graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
  
</mermaid>

See What is Mermaid?

<newpage/>

Inserts a new page (this will only be reflected when printing)


# Page 1

This the first page

<newpage/>

# Page 2

This is the second page