How to add content#

Here are the contribution guidelines

Syntax#

Here is a brief overview of syntax that can be use to populate this website.

Microstates HUB uses markdown, a simple and efficent syntay. You can check the markdown guide to get the basics of it.

In addition, the website offers different extensions to create more specific content. Additional features are listed below:

Figures#

```{figure} ../images/cool.jpg
---
width: 60%
alt: My figure text
name: my_figure
---
And here is my figure caption.
```
My figure text

Fig. 1 And here is my figure caption.#

You can use the :name: variable to link to figure:

 {numref}`my_figure`

link to the figure Fig. 1

Mathematics#

```{math}
:label: my_label
w_{t+1} = (1 + r_{t+1}) s(w_t) + y_{t+1}
```
(1)#\[w_{t+1} = (1 + r_{t+1}) s(w_t) + y_{t+1}\]

You can use the :label: variable to link to equation:

 {eq}`my_label`

link to the equation (1)

Notes#

Margin#

Note in margin

````{margin} **Notes in margins**
```{note}
A note in margin
```
````

References and bibliographies#

References#

The extension sphinxcontrib-bibtex allows to manage the bibliography of this site. To cite an article, add the reference in bibtex format to the bibliography.bib file and refer to the citation using the bibtex keyword:

{footcite}`michel2018`

Will be rendered as 1

Bibliography#

To insert a bibliography on the page use

```{footbibliography}
```
1

Christoph M. Michel and Thomas Koenig. Eeg microstates as a tool for studying the temporal dynamics of whole-brain neuronal networks: a review. NeuroImage, 180:577–593, 2018. Brain Connectivity Dynamics. URL: https://www.sciencedirect.com/science/article/pii/S105381191731008X, doi:https://doi.org/10.1016/j.neuroimage.2017.11.062.

Note that all references will also be listed in the website Bibliography.

Tabbed content#

Tabbed content can be added using sphinx-tabs:

````{eval-rst}
.. tabs::

   .. tab:: MATLAB

      EEG microstate toolbox.

   .. tab:: PYTHON

      Pycrostates.

   .. tab:: CARTOOL

      Cartool.
````

EEG microstate toolbox.

Custom#

You can add HTML content directly in your markdown files:

<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/0VypHqSlFRWpshnWwzLe5K?utm_source=generator" width="100%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>

Toggle content with buttons#

The extension sphinx_togglebutton allows to add content in toggle frames.

```{image} https://media.giphy.com/media/FaKV1cVKlVRxC/giphy.gif
:class: toggle
```
https://media.giphy.com/media/FaKV1cVKlVRxC/giphy.gif