This is the post content
The content here accepts any valid CommonMark
or Github Flavoured markdown
and some GFM
extensions.
Simple paragraph and usual formatting like bold, underline, italic and also all sorts of formatting elements.
Strikethrough
The following is no more.
The following is ~~no more~~.
Table
Syntax | Description |
---|---|
Header | Title |
List | Here's a list!
|
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| List | Here's a list! <ul><li>Item one.</li><li>Item two.</li></ul> |
Autolink
https://github.com/rochacbruno/marmite
A link with a tooltip
https://www.markdownguide.org
fake@example.com
https://github.com/rochacbruno/marmite
[A link with a tooltip](https://pudim.com.br "A picture of a pudim")
<https://www.markdownguide.org>
<fake@example.com>
Task
- Task 1
- Task 2
- [x] Task 1
- [ ] Task 2
Superscript
All raw html is allowed
802
80<sup>2</sup>
Footnotes
Here is a simple footnote1. With some additional text after it.
A reference1 can also be hidden from footnotes.
Here is a simple footnote[^1]. With some additional text after it.
A reference[1] can also be hidden from footnotes.
And on the end of the file:
[^1]: My reference.
[1]: <https://en.wikipedia.org/wiki/Hobbit#Lifestyle> "Hobbit lifestyles"
Description lists
- First term
-
Details for the first term
- Second term
-
Details for the second term
More details in second paragraph.
First term
: Details for the **first term**
Second term
: Details for the **second term**
More details in second paragraph.
Block quote
>Not a quote
quote
Nested quote
>Not a quote
> quote
> > > Nested quote
Multiline quote
"Marmite is the easiest SSG" created by Bruno Rocha with the contribution of various people.
>>>
"Marmite is the easiest SSG" created by
Bruno Rocha with the contribution of various people.
>>>
Multi paragraph quote
Dorothy followed her through many of the beautiful rooms in her castle.
The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with
> Dorothy followed her through many of the beautiful rooms in her castle.
>
> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with
Rich quotes
The quarterly results look great!
- Revenue was off the chart.
- Profits were higher than ever.
Everything is going according to plan.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
Emojis
๐ - ๐ฆ - ๐
:smile: - :crab: - :snake:
Math
Depends on
extra: {"math": true}
defined on frontmatter, then MathJax is loaded.
When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
Inline math $1 + 2$ and display math $$x + y$$
$$ x^2 $$
When $a \ne 0$, there are two solutions to \\(ax^2 + bx + c = 0\\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
Inline math $1 + 2$ and display math $$x + y$$
$$
x^2
$$
Underline
dunder
__dunder__
Spoiler
This is secret
This is ||secret||
Code
import antigravity
def main():
print("Python is a great language")
fn main() {
println!("Marmite is made with Rust!");
}
```python
import antigravity
def main():
print("Python is a great language")
```
```rust
fn main() {
println!("Marmite is made with Rust!");
}
```
lists
- lists
- sub item
- images
- other
- tables
- Formatting
- lists
- sub item
- images
* other
- tables
- Formatting
Numbered
- First item
- Second item
- Indented unordered item
- Indented unordered item
- Third item
- Indented ordered item
- Indented ordered item
- Fourth item
1. First item
1. Second item
- Indented unordered item
- Indented unordered item
1. Third item
1. Indented ordered item
1. Indented ordered item
1. Fourth item
Starting lists with numbers requires a number\
- 1983. A great year!
- I think 1984 was second best.
- 1983\. A great year!
- I think 1984 was second best.
Images
Photo
Same but containing a tooltip if you hover the mouse on
Photo
![Photo](./media/marmite.jpg)
Same but containing a tooltip if you hover the mouse on
![Photo](./media/marmite.jpg "A jar of Marmite")
Embed
Just use raw HTML for now, in future we may have a shorcode.
<iframe width="360" height="215" src="https://www.youtube.com/embed/MjrBTcnnK6c?si=PmQWsGiTh5XguSpb" title="YouTube video player"></iframe>
Pico CSS components
The default embedded template uses picocss so it is possible to write raw HTML like this:
FAQ
Why is it named Marmite?
The creator of this project was looking for some cool name to use for a markdown related project. Then while having bread with Marmite spread for breakfast it looked like a good idea!
Why Rust?
Why not?
<details>
<summary>Why is it named Marmite?</summary>
The ...
</details>
<hr />
<details>
<summary>Why Rust?</summary>
**Why not?**
</details>
<hr />
Symbols
Copyright (ยฉ) โ ©
Registered trademark (ยฎ) โ ®
Trademark (โข) โ ™
Euro (โฌ) โ €
Left arrow (โ) โ ←
Up arrow (โ) โ ↑
Right arrow (โ) โ →
Down arrow (โ) โ ↓
Degree (ยฐ) โ °
Pi (ฯ) โ π
This is a ยฉleft material.
This is a ©left material.
This post specifies FrontMatter
on its header
---
date: 2024-01-01 12:00:01
slug: markdown-format
title: Markdown Formatting Options
tags: markdown, python, rust, Common Mark
extra:
math: true
---
Bye!
-
My reference. โฉ