Skip to content
articlestest

Playground

KrLite

641字约2分钟

test

2024-06-04

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Bold text

Italic text

Bold and italic text

Strikethrough text

Marked text

H2O

10-11

Link


  • Bullet point 1
  • Bullet point 2
  • Bullet point 3

  1. Numbered item 1
  2. Numbered item 2
  3. Numbered item 3


Column 1Column 2
Cell 1Cell 2

Blockquote

def hello_world():
    print("Hello world!")

def highlighted_method():
	a = 100 ^ 2.0
	b = 1 / a
	print(b)
def with_linenums_starting_at_2():
	print("The Peano Axioms!")

Line text inline code line text #!python def inline_code_block()[1] line text

E=mc2E = mc^2

Footnote[2]

提示

This cheatsheet is migrated from the deprecated site.

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6

**Bold text**

_Italic text_

**_Bold and italic text_**

~~Strikethrough text~~

==Marked text==

H~2~O

10^-11^

[Link](https://google.com)

---

- Bullet point 1
- Bullet point 2
- Bullet point 3

---

1. Numbered item 1
2. Numbered item 2
3. Numbered item 3

---

- [x] Task 1
- [ ] Task 2
- [ ] Task 3

---

| Column 1 | Column 2 |
| -------- | -------- |
| Cell 1   | Cell 2   |

---

> Blockquote

```python{4-7}:no-line-numbers
def hello_world():
    print("Hello world!")

def highlighted_method():
	a = 100 ^ 2.0
	b = 1 / a
	print(b)
```

```python:line-numbers=2
def with_linenums_starting_at_2():
	print("The Peano Axioms!")
```

Line text `inline code` line text `#!python def inline_code_block()`[^inline_syntax_highlight] line text

[^inline_syntax_highlight]: Inline syntax highlighting is not supported yet.

$E = mc^2$

Footnote[^footnote]

[^footnote]: Footnote text

::: tip
This cheatsheet is migrated from [the deprecated site](https://github.com/KrLite/BrokenThoughts/blob/main/docs/cheatsheet.md?plain=1).

Markdown Demo

This is a highlighted text.

This is a text with highlighted sections.

Highlighted text in bold.

Highlighted text in italic.

Highlighted text in bold and italic.

Link

Bold link

Italic link

Highlighted link

Highlighted link text

This is a ==highlighted text.==

Th==is is a te==xt with high==lighted secti==ons.

**==Highlighted text in bold.==**

_==Highlighted text in italic.==_

_**==Highlighted text in bold and italic.==**_

[Link](https://www.google.com)

**[Bold link](https://www.google.com)**

_[Italic link](https://www.google.com)_

==[Highlighted link](https://www.google.com)==

[Highlighted ==link text==](https://www.google.com)

function hello_world() {
  console.log("Hello, world!");
}

A simple code block with no line numbers.


Link within a note block

Code within a note block.

Highlighted text within a note block.

Highlighted link within a note block

相关信息

Link within a info block

Code within a info block.

Highlighted text within a info block.

Highlighted link within a info block

提示

Link within a tip block

Code within a tip block.

Highlighted text within a tip block.

Highlighted link within a tip block

注意

Link within a warning block

Code within a warning block.

Highlighted text within a warning block.

Highlighted link within a warning block

警告

Link within a caution block

Code within a caution block.

Highlighted text within a caution block.

Highlighted link within a caution block


Font Ligature Test

a -> b -> c

// Stream API Example
import java.util.stream.Stream;

public class StreamExample {
  public static void main(String[] args) {
    Stream.of("apple", "banana", "orange")
       .filter(fruit -> fruit.length() > 5)
       .sorted()
       .forEach(System.out::println);
  }
}

春潮带雨晚来急,野渡无人舟自横。
春潮带雨晚来急,野渡无人舟自横。
春潮带雨晚来急,野渡无人舟自横。
此句写荒津野渡之景,在水急舟横的悠闲景象中,蕴含着诗人不在位、不得其用的无奈、忧虑、悲伤的情怀。
春潮带雨晚来急,野渡无人舟自横。
此句写荒津野渡之景,在水急舟横的悠闲景象中,蕴含着诗人不在位、不得其用的无奈、忧虑、悲伤的情怀。

  1. Inline syntax highlighting is not supported yet. ↩︎

  2. Footnote text ↩︎

坚守此岸