2023-09-22 00:22:30 +00:00
|
|
|
# Test Markdown document
|
2023-01-26 18:53:05 +00:00
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Text
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
Here is a paragraph with bold text. **This is some bold text.** Here is a
|
2023-09-22 00:22:30 +00:00
|
|
|
paragraph with bold text. **This is also some bold text.**
|
2023-01-26 18:53:05 +00:00
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
Here is another one with italic text. _This is some italic text._ Here is
|
2023-01-26 18:53:05 +00:00
|
|
|
another one with italic text. _This is some italic text._
|
|
|
|
|
|
|
|
Here is another one with struckout text. ~~This is some struckout text.~~
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Links
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
Autolink: <http://example.com>
|
|
|
|
|
|
|
|
Link: [Example](http://example.com)
|
|
|
|
|
|
|
|
Reference style [link][1].
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
[1]: http://example.com 'Example'
|
2023-01-26 18:53:05 +00:00
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Images
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
Image: ![My image](http://www.foo.bar/image.png)
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Headers
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
# First level title
|
|
|
|
|
|
|
|
## Second level title
|
|
|
|
|
|
|
|
### Third level title
|
|
|
|
|
|
|
|
#### Fourth level title
|
|
|
|
|
|
|
|
##### Fifth level title
|
|
|
|
|
|
|
|
###### Sixth level title
|
|
|
|
|
|
|
|
### Title with [link](http://localhost)
|
|
|
|
|
|
|
|
### Title with ![image](http://localhost)
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Code
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
This
|
|
|
|
is
|
|
|
|
code
|
|
|
|
fence
|
|
|
|
```
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
```ts
|
|
|
|
console.log('hello world')
|
|
|
|
```
|
|
|
|
|
2023-01-26 18:53:05 +00:00
|
|
|
Inline `code span in a` paragraph.
|
|
|
|
|
|
|
|
This is a code block:
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sorts the specified array into ascending numerical order.
|
|
|
|
*
|
|
|
|
* <p>Implementation note: The sorting algorithm is a Dual-Pivot Quicksort
|
|
|
|
* by Vladimir Yaroslavskiy, Jon Bentley, and Joshua Bloch. This algorithm
|
|
|
|
* offers O(n log(n)) performance on many data sets that cause other
|
|
|
|
* quicksorts to degrade to quadratic performance, and is typically
|
|
|
|
* faster than traditional (one-pivot) Quicksort implementations.
|
|
|
|
*
|
|
|
|
* @param a the array to be sorted
|
|
|
|
*/
|
|
|
|
public static void sort(byte[] a) {
|
|
|
|
DualPivotQuicksort.sort(a);
|
|
|
|
}
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Quotes
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
> This is the first level of quoting.
|
|
|
|
>
|
|
|
|
> > This is nested blockquote.
|
|
|
|
>
|
|
|
|
> Back to the first level.
|
|
|
|
|
|
|
|
> A list within a blockquote:
|
|
|
|
>
|
2023-09-22 00:22:30 +00:00
|
|
|
> - asterisk 1
|
|
|
|
> - asterisk 2
|
|
|
|
> - asterisk 3
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
> Formatting within a blockquote:
|
|
|
|
>
|
|
|
|
> ### header
|
2023-09-22 00:22:30 +00:00
|
|
|
>
|
2023-01-26 18:53:05 +00:00
|
|
|
> Link: [Example](http://example.com)
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Html
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
This is inline <span>html</html>.
|
|
|
|
And this is an html block.
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Column 1</th>
|
|
|
|
<th>Column 2</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Row 1 Cell 1</td>
|
|
|
|
<td>Row 1 Cell 2</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Row 2 Cell 1</td>
|
|
|
|
<td>Row 2 Cell 2</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Horizontal rules
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
---
|
2023-01-26 18:53:05 +00:00
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
---
|
2023-01-26 18:53:05 +00:00
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
## Lists
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
Unordered list:
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
- asterisk 1
|
|
|
|
- asterisk 2
|
|
|
|
- asterisk 3
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
Ordered list:
|
|
|
|
|
|
|
|
1. First
|
|
|
|
2. Second
|
|
|
|
3. Third
|
|
|
|
|
|
|
|
Mixed:
|
|
|
|
|
|
|
|
1. First
|
|
|
|
2. Second:
|
|
|
|
|
2023-09-22 00:22:30 +00:00
|
|
|
- Fee
|
|
|
|
- Fie
|
|
|
|
- Foe
|
2023-01-26 18:53:05 +00:00
|
|
|
|
|
|
|
3. Third
|
|
|
|
|
|
|
|
Definition list:
|
|
|
|
|
|
|
|
Some term
|
|
|
|
: First definition
|
|
|
|
: Second definition
|
|
|
|
|
|
|
|
Tables:
|
|
|
|
|
|
|
|
| Header 1 | Header 2 |
|
|
|
|
| -------- | -------- |
|
|
|
|
| Data 1 | Data 2 |
|