This document walks you through all the various Markdown features and associated syntaxes.
All heading types are supported.
// Underline style
H1
==
// Hash style
# H1
## H2
### H3
#### H4
##### H5
###### H6
Note that headings smaller than H3 will not show up on the right-side navigation. Also, the first heading on the page will be emphasized, like the "Markdown syntax" title on this page.
Both **bold**, _italics_, and ~~strikethrough~~ are supported.
Both bold, italics, and strikethrough are supported.
* Mary
* Had
* A little
* Lamb
1. Mary
2. Had
3. A little
1. Lamb
[Doctave](https://doctave.com)
![A random image](https://picsum.photos/600/400)
You can use GitHub style shortcodes for emojis.
This means you can write :bell:
and Doctave will render is as 🔔. These work particularly well
with callouts (see below):
⚡ I want your attention
This is important!
You can bring attention to sections using callouts.
{% info This is the title %}
And this is the content!
So much space for activities!
{% end %}
Gives you:
This is the title
And this is the content!
So much space for activities!
{% info %}
You can skip the title
{% end %}
Gives you:
You can skip the title
Instead of info
, you can use success
, warning
, or error
for different colored callouts:
A success message
This is positive news
A warning message
You should use caution
An error message
Something went wrong
> It's true, because it's a quote
It's true, because it's a quote
Use `backticks for inline code snippets`.
Use backticks for inline code snippets
.
Either use three backticks
```
For().your().code()
```
To achieve:
For().your().code()
Or indent your code with 4 spaces:
For().your().code()
For the same effect:
For().your().code()
You can specify the language for syntax highlighting using the backticks syntax.
```ruby
def initialize(table_name_singularised)
@table = table_name_singularised.to_s.pluralize
end
```
def initialize(table_name_singularised)
@table = table_name_singularised.to_s.pluralize
end
- [ ] This is a list of todos
- [x] This is a completed item
- [ ] This is an uncompleted item
This is a heading | This is another heading |
-------------------------------|--------------------------|
This is content for a columns | This is **bold** |
You can have more rows | And more columns |
This is a heading | This is another heading |
---|---|
This is content for a columns | This is bold |
You can have more rows | And more columns |
Powered by Doctave