md2txt/examples/markdown.mu

131 lines
2.9 KiB
Text
Raw Permalink Normal View History

2025-10-20 17:48:57 +03:00
_ _ _ _ _ _ ___ __
| |_ / | | || |___ __ _ __| (_)_ _ __ _ ( _ )__\ \
| ' \| | | __ / -_) _` / _` | | ' \/ _` | / _ \___| |
|_||_|_| |_||_\___\__,_\__,_|_|_||_\__, | \___/ | |
|___/ /_/
2025-10-20 17:56:30 +03:00
>> h2 Heading
2025-10-20 17:48:57 +03:00
2025-10-20 17:56:30 +03:00
>>> h3 Heading
2025-10-20 17:48:57 +03:00
_ _ _ _ _ _ _
| |__ | || | | | | | ___ __ _ __| (_)_ __ __ _
| '_ \| || |_ | |_| |/ _ \/ _` |/ _` | | '_ \ / _` |
| | | |__ _| | _ | __/ (_| | (_| | | | | | (_| |
|_| |_| |_| |_| |_|\___|\__,_|\__,_|_|_| |_|\__, |
|___/
_ ____ _ _ _ _
| |__ | ___| | | | | ___ __ _ __| (_)_ __ __ _
| '_ \|___ \ | |_| |/ _ \/ _` |/ _` | | '_ \ / _` |
| | | |___) | | _ | __/ (_| | (_| | | | | | (_| |
|_| |_|____/ |_| |_|\___|\__,_|\__,_|_|_| |_|\__, |
|___/
_ __ _ _ _ _
| |__ / /_ | | | | ___ __ _ __| (_)_ __ __ _
| '_ \| '_ \ | |_| |/ _ \/ _` |/ _` | | '_ \ / _` |
| | | | (_) | | _ | __/ (_| | (_| | | | | | (_| |
|_| |_|\___/ |_| |_|\___|\__,_|\__,_|_|_| |_|\__, |
|___/
2025-10-20 17:56:30 +03:00
>> Horizontal Rules
2025-10-20 17:48:57 +03:00
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
2025-10-20 17:56:30 +03:00
>> Emphasis
2025-10-20 17:48:57 +03:00
`!This is bold text`! `!This is bold text`! `*This is italic text`* `*This
is italic text`* ~~Strikethrough~~
2025-10-20 17:56:30 +03:00
>> Blockquotes
2025-10-20 17:48:57 +03:00
>>>>Blockquotes can also be nested...
>>>>>>>>by using additional greater-than signs right next to each other...
>>>>>>>>>>>>or with spaces between arrows.
2025-10-20 17:56:30 +03:00
>> Lists
2025-10-20 17:48:57 +03:00
2025-10-20 17:56:30 +03:00
>>> Unordered
2025-10-20 17:48:57 +03:00
+ Create a list by starting a line with `=+`=, `=-`=, or `=*`=
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
+ Very easy
2025-10-20 17:56:30 +03:00
>>> Ordered
2025-10-20 17:48:57 +03:00
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa
2025-10-20 17:56:30 +03:00
>> Code
2025-10-20 17:48:57 +03:00
Inline `=code`=
Indented code
`=
// Some comments
line 1 of code
line 2 of code
line 3 of code
`=
Block code "fences"
`=
Sample text here...
`=
Syntax highlighting
`=
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
`=
2025-10-20 17:56:30 +03:00
>> Links
2025-10-20 17:48:57 +03:00
`[link text`http://dev.nodeca.com]
`[link with title`http://nodeca.github.io/pica/demo/ "title text!"]
2025-10-20 17:56:30 +03:00
>> Images
2025-10-20 17:48:57 +03:00
`[Minion`https://octodex.github.com/images/minion.png]
`[Stormtroopocat`https://octodex.github.com/images/stormtroopocat.jpg "The
Stormtroopocat"]