Example Markdown Document
Information
crates.io: https://crates.io/crates/mdbook-catppuccin
repository: https://github.com/catppuccin/mdBook
Text
Here is a paragraph with bold text. This is some bold text. Here is a paragraph with bold text. This is also some bold text.
Here is another one with italic text. This is some italic text. Here is another one with italic text. This is some italic text.
Here is another one with struckout text. This is some struckout text.
Warning blocks should be used sparingly in documentation, to avoid "warning fatigue," where people are trained to ignore them because they usually don't matter for what they're doing.
Links
Autolink: http://example.com
Link: Example
Reference style link.
Images
Headers
First level title
Second level title
Third level title
Fourth level title
Fifth level title
Sixth level title
Title with link
Title with
Code
Inline code span in a
paragraph.
This
is
code
fence
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
System.out.println("This is some Java code!");
}
}
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);
}
Quotes
This is the first level of quoting.
This is nested blockquote.
Back to the first level.
A list within a blockquote:
- asterisk 1
- asterisk 2
- asterisk 3
Formatting within a blockquote:
header
Link: Example
Html
This is inline html