this is a markdown kitchen sink
it is also pinned at the top
-
TOC
- Header 2
- Horizontal rule
- Here is an unordered list
- And an ordered list
- And an ordered list, continued
- And a nested list
- And a task list
- A gigantic image
- Definition lists can be used with HTML syntax
- More code
- Collapsed Section
Text can be bold, italic, or strikethrough.
There should be whitespace between paragraphs1.
# Header 1
This is a normal paragraph following a header.
# Header 2
Only second level header are shown in the TOC
This is a blockquote following a header.
When something is important enough, you do it even if the odds are not in your favor.
# Header 3
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require("./lang/" + l);
return true;
};
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
# Header 4 with code not transformed
- This is an unordered list following a header.
- This is an unordered list following a header.
- This is an unordered list following a header.
# Header 5
- This is an ordered list following a header.
- This is an ordered list following a header.
- This is an ordered list following a header.
# Header 6
This is a very long link which wraps and therefore doesn’t overflow even when it comes at the beginning of the line.
This is a table:
head1 | head two | three |
---|---|---|
ok | good swedish fish | nice |
out of stock | good and plenty | nice |
ok | good oreos |
hmm |
ok | good zoute drop |
yumm |
# Horizontal rule
# Here is an unordered list
- Item foo
- Item bar
- Item baz
- Item zip
# And an ordered list
- Item one
- Item two
- Item three
- Item four
# And an ordered list, continued
- Item one
- Item two
# And a nested list
- level 1 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 1 item
# And a task list
- Hello, this is a TODO item
- Hello, this is another TODO item
- level 1 item
- level 2 item
- Goodbye, this item is done
- level 2 item
- level 2 item
- level 1 item
- level 2 item (task)
- level 2 item (task)
# A gigantic image
Just use HTML to rescale it
# Definition lists can be used with HTML syntax
- Name
- Godzilla
- Born
- 1952
- Birthplace
- Japan
- Color
- Green
# More code
package main
import (
"fmt"
"sync"
"sync/atomic"
)
func main() {
var ops atomic.Uint64
var wg sync.WaitGroup
for i := 0; i < 50; i++ {
wg.Add(1)
go func() {
for c := 0; c < 1000; c++ {
ops.Add(1)
}
wg.Done()
}()
}
wg.Wait()
fmt.Println("ops:", ops.Load())
}
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
# Collapsed Section
The following uses the <details>
tag to create a collapsed section.
Shopping list (click me!)
This is content inside a <details>
dropdown.
- Apples
- Oranges
- Milk
-
I am a footnote ↩︎