Advanced

Some more advanced features

Table of contents

Soverin sites can automatically generate a table of contents for the current page. For this to work you need to add the following markup to your page:

markdown - toc {:toc}

Footnotes

You can add footnotes to any text in a page by using this markup:

markdown This is a text with a footnote[^1].

And then later in your page add the foot-note definition:

markdown [^1]: And here is the definition.

Abbreviations

This is something that is supported out of the box. Say you have the following text:

markdown Markdown is an easy way to write HTML.

Then later on the page you can add the definition as follows:

markdown \*[HTML]: Hyper Text Markup Language

Inline attributes

Any attribute can be added to an element as follows:

markdown This is _red_{: style="color: red"}.

Math

Soverin site allow you to add math formulas to your site, which is done using MathJax. For a basic tutorial see this Stack Overflow page.

You will need to add the following to the head of your site:

<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>


Related Docs