KB: Markdown, LaTeX & GraphVIZ Examples

Introduction

The purpose of this topic is to introduce many of the Markdown and Plugin formatting tools that can be used to organize and enhance the presentation a topic.

It will cover several of the most essential basic Markdown formatting commands, as well as our supported LaTeX Math and GraphVIZ plugins.

Please note, several of the Markdown formatting tools (quote, bold, italic, hyperlink, inline code, file attachments and lists) can be applied directly from the editor option bar when you are writing a topic.


Table of Contents

Markdown Basics

LaTeX Equations

GraphVIZ Plotting

Useful Links

- [Table of Contents Entry](#table_of_contents_entry)
# Table of Contents Entry<a name=“table_of_contents_entry” />


Markdown Basics

Headers

# This is a Header
## This is a Sub Header
### This is a Sub Sub Header

This is a Header

This is a Sub Header

This is a Sub Sub Header


Text Formatting

**This is BOLD text**

This is BOLD text

*This is ITALIC text*

This is ITALIC text

~~This is Strike-Through text~~

This is Strike-Through text

>This is a Quote

This is a Quote


Lists

1) This
2) Is
3) A
4) List

  1. This
  2. Is
  3. A
  4. List

- This
- Is
- Also
- A
- List

  • This
  • Is
  • Also
  • A
  • List

Hyperlinks

[This is a Hyperlink](www.onsmei.com)

This is a Hyperlink


Tables

|This|Is|A|Table|
|-|-|-|-|
|Data 1|Data 2|Data 3|Data 4|

This Is A Table
Data 1 Data 2 Data 3 Data 4

Horizontal Marks

- - -


Inline & Block Code

`printf(“Hello World\n”);`

printf("Hello World\n");

```
/* This is a Code Block */
void main(void)
{
printf(“Hello World\n”);
}
```

/* This is a Code Block */
void main(void)
{
	printf("Hello World\n");
}

Attaching Images & Files

![Example_Image|690x287, 50%](upload://A23f06HHOPaNVP8A8bGZ48vyYZI.png)

[This Is An Attached File.zip|attachment](upload://8JZLMgcKUcNiX2cpwqbSq9zW813.zip) (190 Bytes)

This Is An Attached File.zip (190 Bytes)


LaTeX Equations

$$
\pi = 4\sum_{k = 0}^{\infty} \frac{-1^k}{2k+1} = 4 \bigg[ \frac{1}{1} - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} >+ \dotso \bigg]
$$

\pi = 4\sum_{k = 0}^{\infty} \frac{-1^k}{2k+1} = 4 \bigg[ \frac{1}{1} - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \dotso \bigg]

GraphVIZ Plotting

[graphviz]
graph {
a – b;
b – c;
c – d;
d – a; d-- b;
}
[/graphviz]

a a b b a--b c c b--c d d c--d d--a d--b

Useful Links

Markdown Basics

Markdown Table Generator

LaTeX Mathematics Wiki

GraphVIZ Documentation