14. Markdown Examples

14.2. Code environment

Either use fenced style (tildes)

if (a > 3) {
  moveShip(5 * gravity, DOWN);
}

or indented style (4 whitespaces)

if (a > 3) {
  moveShip(5 * gravity, DOWN);
}

Both works with pandoc and wordpress. Also see pandoc verbatim code.

14.3. Equations

(@gleichung1) $$a=b*c$$ As (@gleichung1) shows, blabla.

14.4. Bibtex, cite

Hindenlang [@Hindenlang2015]. Only works with pandoc!

[bibshow file=https://www.flexi-project.org/wp-content/uploads/2016/07/userguide-1.bib]

Hindenlang [bibcite key=Hindenlang2015], Gassner [bibcite key=gassner2011disp]

14.5. section references

14.6. Figures, caption

https://www.flexi-project.org/wp-content/uploads/2016/01/M7_ROE_N7M10_q_0000060p2000000.jpg

Fig. 14.1 This is an example caption.

See Fig. 14.1 for an image from the web embedded in this documentation.

../_images/dev_mpi_shared_mesh.png

Fig. 14.2 This is an example caption.

See Fig. 14.2 for embedding a local file.

14.7. tables

14.8. unnumbered section headings

just add

{-}

after the heading

14.9. Code blocks for various languages

int a = 32;
int a = 32;