sinsukehlab / NOTE-test

[!NOTE]
https://github.com/orgs/community/discussions/16925
MIT License
37 stars 9 forks source link

`[!NOTE]` test #1

Open sinsukehlab opened 9 months ago

sinsukehlab commented 9 months ago

[!NOTE] test

Simple alerts

[!NOTE] This is a note.

[!TIP] This is a tip. (Supported since 14 Nov 2023)

[!IMPORTANT] Crutial information comes here.

[!CAUTION] Negative potential consequences of an action. (Supported since 14 Nov 2023)

[!WARNING] Critical content comes here.

[!NOTE]\ This is a note. (hard line break \)

[!NOTE] This is a note. multiple lines with a soft line break

[!NOTE] This is a note.\ multiple lines with a hard line break (\)

[!NOTE] No character is allowed except a line break. This is a note.

[!NOTE] No character is allowed except a line break.\ This is a note.

[!NOTE]

[!NOTE]
This is a one-liner note.

Broken since 14 Nov 2023

[!NOTE]

[!NOTE]

[!NOTE]
This is a note.

nested alerts

[!NOTE] This is a note.

[!NOTE] This is a note (broken).

[!NOTE] This is a note.

[!NOTE]
This is a one-liner note (broken).

[!NOTE]
This is a one-liner note.

[!NOTE]
This is a one-liner note (broken).

[!NOTE] This is a note.

[!NOTE] This is a note (broken).

[!NOTE] This is a note.

[!NOTE]
This is a one-liner note (broken).

[!NOTE] This is a note.

[!NOTE] This is a note (broken).

[!NOTE] This is a note.

[!NOTE]
This is a one-liner note (broken).

[!NOTE]
This is a one-liner note.

[!NOTE] This is a note (broken).

[!NOTE]
This is a one-liner note.

[!NOTE]
This is a one-liner note (broken).

[!NOTE]

[!NOTE] This is a note (broken).

[!NOTE]

[!NOTE]
This is a one-liner note (broken).

[!NOTE]

[!NOTE] This is a note (broken).

[!NOTE]

[!NOTE]
This is a one-liner note (broken).

[!NOTE]

[!NOTE] This is a note (broken).

[!NOTE]

[!NOTE]
This is a one-liner note (broken).

block quote

alerts in quotes (broken since 14 Nov 2023)

This breaks the syntax. [!NOTE] This is a note.

This breaks the syntax.\ [!NOTE] This is a note.

This breaks the syntax.
[!NOTE] This is a note.

This breaks the syntax.

[!NOTE] This is a note.

This breaks the syntax. [!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note.

This is a quote.

[!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note.

This is a quote.

[!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note.

This is a quote.

[!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note (broken).

This is a quote.

[!NOTE]
This is a one-liner note (broken).

This is a quote.

[!NOTE] This is a note.

This is a quote.

[!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note.

This is a quote.

[!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note.

This is a quote.

[!NOTE]
This is a one-liner note.

This is a quote.

[!NOTE] This is a note (broken).

This is a quote.

[!NOTE]
This is a one-liner note (broken).

quotes in alerts

[!NOTE] This is a note.

This is indented (>>).

[!NOTE]

This is indented (>>).

[!NOTE]

This is indented (>>).

This is indented (>>>).

[!NOTE]

This is indented (>>>).

[!NOTE] This is a note.

This is a quote.

[!NOTE]

This is a quote.

[!NOTE]

This is a quote.

This is a quote (> > >).

[!NOTE]

This is a quote (> > >).

This is a quote.

[!NOTE]

This is indented (>>>).

This is a quote.

[!NOTE]

This is a quote (> > >).

thematic break and setext heading

[!NOTE] This is a note (broken).

[!NOTE]

This is <h2> text.

[!NOTE]

This is <h1> text.

[!NOTE] This is a note.


[!NOTE] This is a note.


after the break

[!NOTE]

[!NOTE]


[!NOTE]
This is a note using <br> (broken).

[!NOTE]
This is a note using <br>.


[!NOTE] This is a note (not broken).


[!NOTE] This is a note.


[!NOTE] This is a note.


after the break

[!NOTE] This is a note.


after the break

[!NOTE]


[!NOTE]


[!NOTE]
This is a note using <br> (not broken).


[!NOTE]
This is a note using <br>.


[!NOTE] This is a note (not broken).


[!NOTE] This is a note.


[!NOTE] This is a note.


after the break

[!NOTE] This is a note.


after the break

[!NOTE]


[!NOTE]


[!NOTE]
This is a note using <br> (not broken).


[!NOTE]
This is a note using <br>.


[!NOTE]
This is a one-liner note using <br>.


after the break

[!NOTE]


code block

simple indented code block

fn main () {
  println!("Hello, World!");
}

simple fenced code block

fn main () {
  println!("Hello, World!");
}

fenced code block with syntax highlighting

fn main () {
  println!("Hello, World!");
}

[!NOTE] This is a note.

fn main () {
  println!("Hello, World!");
}

[!NOTE]

fn main () {
  println!("Hello, World!");
}

[!NOTE] This is a note.

fn main() {
  println!("Hello, World!");
}

[!NOTE]

fn main() {
  println!("Hello, World!");
}

[!NOTE] This is a note.

fn main() {
  println!("Hello, World!");
}

[!NOTE]

fn main() {
  println!("Hello, World!");
}

MathJax (directly supported since 14 Nov 2023)

[!NOTE] This is a note. $\LaTeX$

[!NOTE] This is a note.\ $\LaTeX$

[!NOTE] This is a note.
$\LaTeX$

[!NOTE] $\LaTeX$

[!NOTE] Here is $\LaTeX$.

[!NOTE] This is a note. $$\LaTeX$$

[!NOTE] This is a note.\ $$\LaTeX$$

[!NOTE] This is a note.
$$\LaTeX$$

[!NOTE] $$\LaTeX$$

[!NOTE] Here is $$\LaTeX$$.

[!NOTE]
This is a one-liner note.
$\LaTeX$

[!NOTE]
$\LaTeX$

[!NOTE]
Here is $\LaTeX$.

[!NOTE]
This is a one-liner note.
$$\LaTeX$$

[!NOTE]
$$\LaTeX$$

[!NOTE]
Here is $$\LaTeX$$.

[!NOTE] This is a note.

\LaTeX

[!NOTE]

\LaTeX

list

alerts in lists (broken since 14 Nov 2023)

  1. This is an ordered list.

    [!NOTE] This is a note.

  2. This is an ordered list.

    [!NOTE]
    This is a one-liner note.

  3. [!NOTE] This is a note.

  4. This is an ordered list.

  5. [!NOTE] This is a note.

  6. [!NOTE]
    This is a one-liner note.

  7. This is an ordered list.

    [!NOTE] This is a note.

    1. This is an ordered list. [!NOTE] This is a note.
    2. This is an ordered list. [!NOTE] This is a note.
  1. [ ] This is a task list. The number 1. won't be shown.

    [!NOTE] This is a note.

  2. [x] This is a task list with a checked task. The number 1. won't be shown.

    [!NOTE] This is a note.

  3. [ ] This is a task list. The number 1. won't be shown.

    [!NOTE]
    This is a one-liner note.

  4. [x] This is a task list with a checked task. The number 1. won't be shown.

    [!NOTE]
    This is a one-liner note.

lists in alerts

[!NOTE] This is a note.

  • This is a bullet list with -.

[!NOTE]

  • This is a bullet list with - directly in an alert.

[!NOTE] This is a note.

  • This is a bullet list with +.

[!NOTE]

  • This is a bullet list with + directly in an alert.

[!NOTE] This is a note.

  • This is a bullet list with *.

[!NOTE]

  • This is a bullet list with * directly in an alert.

[!NOTE] This is a note.

  1. This is an ordered list.

[!NOTE]

  1. This is an ordered list directly in an alert.

[!NOTE]

  1. This is an ordered list directly in an alert.
    1. subitem
      1. subitem
  1. This is an ordered list.

    [!NOTE] This is a note.

    1. This is an ordered list.
  2. This is an ordered list.

    [!NOTE]

    1. This is an ordered list directly in an alert.
  3. [!NOTE] This is a note.

    1. This is an ordered list.
  4. [!NOTE]

    1. This is an ordered list directly in an alert.
  5. This is an ordered list.

    [!NOTE]

    1. This is an ordered list directly in an alert.
      1. subitem
        1. subitem
    2. This is an ordered list. [!NOTE]
    3. This is an ordered list directly in an alert.
      1. subitem
        1. subitem
    4. This is an ordered list. [!NOTE]
    5. This is an ordered list directly in an alert.
      1. subitem
        1. subitem

[!NOTE] This is a note.

  • [ ] This is a task list (-).
  • [x] This is a task list with a checked task (-).
  • [ ] This is a task list (+).
  • [x] This is a task list with a checked task (+).
  • [ ] This is a task list (*).
  • [x] This is a task list with a checked task (*).
    1. [ ] This is a task list.
    2. [x] This is a task list with a checked task.

[!NOTE]

  • [ ] This is a task list directly in an alert.

table (GitHub Flavored Markdown)

tables in alerts

[!NOTE] Header 1 Header 2
a b
c d
[!NOTE] Left-aligned Center-aligned Right-aligned
abc abc abc
1234 1234 1234

alerts in tables (not supported)

NOTE IMPORTANT WARNING
> [!NOTE]
This is a note.
> [!IMPORTANT]
This is important.
> [!WARNING]
This is a warning.
> [!NOTE]
This is a note.
second line
> [!IMPORTANT]
This is important.
second line
> [!WARNING]
This is a warning.
second line
Header > [!NOTE]
This is a note.
Content NOTE
Left-aligned Center-aligned Right-aligned
> [!NOTE]
This is a note.
> [!NOTE]
This is a note.
> [!NOTE]
This is a note.
> [!IMPORTANT]
This is important.
> [!IMPORTANT]
This is important.
> [!IMPORTANT]
This is important.
> [!WARNING]
This is a warning.
> [!WARNING]
This is a warning.
> [!WARNING]
This is a warning.
[!NOTE] NOTE IMPORTANT WARNING
> [!NOTE]
This is a note.
> [!IMPORTANT]
This is important.
> [!WARNING]
This is a warning.
> [!NOTE]
This is a note.
second line
> [!IMPORTANT]
This is important.
second line
> [!WARNING]
This is a warning.
second line
[!IMPORTANT] Header > [!NOTE]
This is a note.
Content NOTE
[!WARNING] Left-aligned Center-aligned Right-aligned
> [!NOTE]
This is a note.
> [!NOTE]
This is a note.
> [!NOTE]
This is a note.
> [!IMPORTANT]
This is important.
> [!IMPORTANT]
This is important.
> [!IMPORTANT]
This is important.
> [!WARNING]
This is a warning.
> [!WARNING]
This is a warning.
> [!WARNING]
This is a warning.

<table>

<table> in alerts

[!NOTE] This is a note.

This is inside <table><tr><td>.

[!NOTE]

This is inside <table><tr><td>.

[!NOTE]

This is inside <table><tr><td>.

[!NOTE]
This is a one-liner note.

This is inside <table><tr><td>.

[!NOTE]
This is a one-liner note.

This is inside <table><tr><td>.

[!NOTE]

This is inside <table><tr><td>.

[!NOTE] This is a note.

This is inside <table><tr>.

[!NOTE]

This is inside <table><tr>.

[!NOTE]

This is inside <table><tr>.

[!NOTE]
This is a one-liner note.

This is inside <table><tr>.

[!NOTE]
This is a one-liner note.

This is inside <table><tr>.

[!NOTE]

This is inside <table><tr>.

[!NOTE] This is a note.

This is inside <table>.

[!NOTE]

This is inside <table>.

[!NOTE]

This is inside <table>.

[!NOTE]
This is a one-liner note.

This is inside <table>.

[!NOTE]
This is a one-liner note.

This is inside <table>.

[!NOTE]

This is inside <table>.

[!NOTE]

Header 1 Header 2
a b
c d

[!NOTE]

Header 1Header 2
ab
cd

[!NOTE]

Header 1 Header 2
a b
c d

[!NOTE]

Header 1Header 2
ab
cd

[!NOTE]

Left Center Right
abcdefg abcdefg abcdefg
1234 1234 1234

[!NOTE]

LeftCenterRight
abcdefgabcdefgabcdefg
123412341234

[!NOTE]

Left Center Right
abcdefg abcdefg abcdefg
1234 1234 1234

[!NOTE]

LeftCenterRight
abcdefgabcdefgabcdefg
123412341234

[!NOTE]

Header 1 Header 2 Header 3
abc abc abc
1234 1234 1234

[!NOTE]

Header 1Header 2Header 3
abcabcabc
123412341234

alerts in <table>

> [!NOTE] > This is a note.
> [!NOTE] > This is a note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE] > This is a note.
> [!NOTE] > This is a note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE] > This is a note.
> [!NOTE] > This is a note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE] > This is a note. > > > > >
> This is inside <table><tr><td>. >

> [!NOTE]
This is a note.
This is inside `
`.

NOTE TIP IMPORTANT CAUTION WARNING
> [!NOTE] > This is a note. > [!TIP] > This is a tip. > [!IMPORTANT] > This is important. > [!CAUTION] > This is a caution. > [!WARNING] > This is a warning.
> [!NOTE]
This is a one-liner note.
> [!TIP]
This is a one-liner tip.
> [!IMPORTANT]
This is important (one-liner).
> [!CAUTION]
This is a one-liner caution.
> [!WARNING]
This is a one-liner warning.
Header > [!NOTE]
This is a one-liner note.
Content NOTE
Left-aligned Center-aligned Right-aligned
> [!NOTE] > This is a note. > [!NOTE]
This is a one-liner note.
> [!NOTE] > This is a note. > [!NOTE]
This is a one-liner note.
> [!NOTE] > This is a note. > [!NOTE]
This is a one-liner note.
> [!TIP] > This is a tip. > [!TIP]
This is a one-liner tip.
> [!TIP] > This is a tip. > [!TIP]
This is a one-liner tip.
> [!TIP] > This is a tip. > [!TIP]
This is a one-liner tip.
> [!IMPORTANT] > This is important. > [!IMPORTANT]
This is important (one-liner).
> [!IMPORTANT] > This is important. > [!IMPORTANT]
This is important (one-liner).
> [!IMPORTANT] > This is important. > [!IMPORTANT]
This is important (one-liner).
> [!CAUTION] > This is a caution. > [!CAUTION]
This is a one-liner caution.
> [!CAUTION] > This is a caution. > [!CAUTION]
This is a one-liner caution.
> [!CAUTION] > This is a caution. > [!CAUTION]
This is a one-liner caution.
> [!WARNING] > This is a warning. > [!WARNING]
This is a one-liner warning.
> [!WARNING] > This is a warning. > [!WARNING]
This is a one-liner warning.
> [!WARNING] > This is a warning. > [!WARNING]
This is a one-liner warning.

[!NOTE]

[!NOTE] This is a note.

with MathJax

[!NOTE]

$\LaTeX$

[!NOTE]

$\LaTeX$

[!NOTE]

$$\LaTeX$$

[!NOTE]

$$\LaTeX$$

[!NOTE]

$$ \LaTeX $$

[!NOTE]

$$ \LaTeX $$

[!NOTE]

```math \LaTeX ```

[!NOTE]

```math \LaTeX ```
$\LaTeX$ > [!NOTE] > This is a note.
$$\LaTeX$$ > [!NOTE] > This is a note.
$$ \LaTeX $$ > [!NOTE] > This is a note.
```math \LaTeX ``` > [!NOTE] > This is a note.
$\LaTeX$ > [!NOTE]
This is a one-liner note.
$$\LaTeX$$ > [!NOTE]
This is a one-liner note.
$$ \LaTeX $$ > [!NOTE]
This is a one-liner note.
```math \LaTeX ``` > [!NOTE]
This is a one-liner note.
> [!NOTE] > $\LaTeX$
> [!NOTE] > $$\LaTeX$$
> [!NOTE] > $$ > \LaTeX > $$
> [!NOTE] > ```math > \LaTeX > ```
> [!NOTE]
$\LaTeX$
> [!NOTE]
$$\LaTeX$$
> [!NOTE] > This is a note. $\LaTeX$
> [!NOTE] > This is a note. $$\LaTeX$$
> [!NOTE] > This is a note. $$ \LaTeX $$
> [!NOTE] > This is a note. ```math \LaTeX ```
> [!NOTE]
This is a one-liner note.
$\LaTeX$
> [!NOTE]
This is a one-liner note.
$$\LaTeX$$
> [!NOTE]
This is a one-liner note.
$$ \LaTeX $$
> [!NOTE]
This is a one-liner note.
```math \LaTeX ```
> [!NOTE] > This is a note.
$\LaTeX$
> [!NOTE] > This is a note.
$$\LaTeX$$
> [!NOTE] > This is a note.
$$ \LaTeX $$
> [!NOTE] > This is a note.
```math \LaTeX ```
> [!NOTE]
This is a one-liner note.
$\LaTeX$
> [!NOTE]
This is a one-liner note.
$$\LaTeX$$
> [!NOTE]
This is a one-liner note.
$$ \LaTeX $$
> [!NOTE]
This is a one-liner note.
```math \LaTeX ```

<div>

<div> in alerts

[!NOTE] This is a note.

This is inside <div>.

[!NOTE]

This is inside <div>.

[!NOTE]

This is inside <div>.

[!NOTE]
This is a one-liner note.

This is inside <div>.

[!NOTE]
This is a one-liner note.

This is inside <div>.

[!NOTE]

This is inside <div>.

alerts in <div> (broken since 28 Nov 2023?)

> [!NOTE] > This is a note.
> [!NOTE] > This is a note.
> [!NOTE] > This is a note. >
> This is inside <div>. >

> [!NOTE] > This is a note. >
> This is inside <div>. >

> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
This is inside <div>.

> [!NOTE]
This is a one-liner note.
This is inside `
`.

> [!NOTE]
This is a one-liner note.
> [!NOTE]
This is a one-liner note.
This is inside <div>.
Snailedlt commented 9 months ago
sinsukehlab commented 9 months ago

@Snailedlt Yes, it is the same now.

sinsukehlab commented 8 months ago

[!NOTE] The NOTE.md file has been updated but this issue hasn't.