Draft

Welcome to your new Draft powered Documentation!

GitHub Flavored Markdown

The markdown used is GitHub Flavored so you can easily import or export your documentation to GitHub. Remember you can also use some HTML inside Markdown, and if that's not enough you can always write your documentation in HTML documents.

Examples

You can see some examples right now, just open the examples section in the navigation bar.

Code Highlighting

You can easily get code highlighting for your page thanks to the Prism library bundled in. Visit their webpage to see how it works and find new themes!

function updateMessage() {
var el = document.getElementById('message');
el.textContent = msg;
}

// Call the function
updateMessage();

Math

With the help of MathJax you can also display math! for more information visit their homepage.

Block Math:

This is a Block Formula: $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$

Inline Math:

This is an Inline Formula: $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$.

Messages

Display any kind of messages to better inform everyone!

Quote message

Info message
Successful message
Warning message
Error message