If you are seeing this post through the blog, you can find the source code for this post here.
Here’s a mix of common Markdown elements to show you how they look:
Inline math ($ … $): \(E = mc^2\)
Paragraph math (\$\$ … \$\$):
$$ \hat{f} (\xi)=\int_{-\infty}^{\infty}f(x)e^{-2\pi ix\xi}dx $$
You can include code blocks with syntax highlighting:
package main
import "fmt"
func main() {
fmt.Println("Hello, DSBG!")
}
fn main() {
println!("Hello, DSBG!");
}
def main():
print("Hello, DSBG!")
if __name__ == "__main__":
main()
function main() {
console.log("Hello, DSBG!");
}
main();
Images are automatically copied to the output directory:
Here’s some bold and italic text, and some inline code
.
Check out this example link.
This is a block quote. Useful for citing resources.
Let’s push the boundaries with more features and edge cases.
Here are different ways to create horizontal rules:
---
***
___
This text is strikethrough.
Let’s see if emojis render correctly: 🎉 👍 🚀 🤔
Basic HTML should be ignored or rendered as raw HTML depending on the Markdown processor. Let’s try a simple <br>
and <span>
.
This is line 1.<br>This is line 2.
This is line 1.
This is line 2.
This is <span style="color:red;">red text</span>.
This is red text.
Characters that have special meaning in Markdown can be escaped with a backslash \
.
*asterisks* _underscores_ #hash# \backslash\ `backtick` >greater than> <less than< [brackets[ ]brackets] (parentheses( )parentheses)
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
This table is designed to be wide and tall to test scrolling and wrapping behaviors.
Very Long Header Column 1 | Very Long Header Column 2 | Very Long Header Column 3 | Very Long Header Column 4 | Very Long Header Column 5 | Very Long Header Column 6 | Very Long Header Column 7 | Very Long Header Column 8 | Very Long Header Column 9 | Very Long Header Column 10 |
---|---|---|---|---|---|---|---|---|---|
Very Long Content Cell 1 | Very Long Content Cell 2 | Very Long Content Cell 3 | Very Long Content Cell 4 | Very Long Content Cell 5 | Very Long Content Cell 6 | Very Long Content Cell 7 | Very Long Content Cell 8 | Very Long Content Cell 9 | Very Long Content Cell 10 |
Another Long Cell 1 | Another Long Cell 2 | Another Long Cell 3 | Another Long Cell 4 | Another Long Cell 5 | Another Long Cell 6 | Another Long Cell 7 | Another Long Cell 8 | Another Long Cell 9 | Another Long Cell 10 |
More Content Cell 1 | More Content Cell 2 | More Content Cell 3 | More Content Cell 4 | More Content Cell 5 | More Content Cell 6 | More Content Cell 7 | More Content Cell 8 | More Content Cell 9 | More Content Cell 10 |
And Even More Content 1 | And Even More Content 2 | And Even More Content 3 | And Even More Content 4 | And Even More Content 5 | And Even More Content 6 | And Even More Content 7 | And Even More Content 8 | And Even More Content 9 | And Even More Content 10 |
Last Row Long Cell 1 | Last Row Long Cell 2 | Last Row Long Cell 3 | Last Row Long Cell 4 | Last Row Long Cell 5 | Last Row Long Cell 6 | Last Row Long Cell 7 | Last Row Long Cell 8 | Last Row Long Cell 9 | Last Row Long Cell 10 |
One More Row Cell 1 | One More Row Cell 2 | One More Row Cell 3 | One More Row Cell 4 | One More Row Cell 5 | One More Row Cell 6 | One More Row Cell 7 | One More Row Cell 8 | One More Row Cell 9 | One More Row Cell 10 |
Type | Description | Example |
---|---|---|
Bold | Text with strong emphasis | **bold text** |
Italic | Text with emphasis | *italic text* |
Code |
Inline code | `inline code` |
Link | Hyperlink | [example link](https://example.com) |
While Markdown doesn’t have explicit citation syntax, footnotes can be used to create citations or references.1
Here is some text that needs a citation.2 And another sentence that also needs a citation.3
Let’s test how very long words and strings are handled, especially for layout and wrapping.
VeryLongWordWithoutSpacesToTestWordBreakingAndOverflow.
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Let’s combine some features for fun:
A blockquote containing
inline code
and a link and italic text.
inline code
, and a link.Combination Type | Example Content |
---|---|
List Item | 1. A list item with bold text, italic text, and a link. |
Table Cell | A table cell with bold text, italic text, inline code , and a link. |
This extended test post should cover a wider range of Markdown features and edge cases, providing a more thorough test of rendering and formatting.