Markdown test

· · 个人记录

\gdef\macroone{12345} Fail: \newcommand\macrothree{13579} \macrothree \gdef\macrotwo{67890}

Here's a collections of LFM(Luogu Flavored Markdown) features.[^1]

See also here.

See also here.

See also [here][2].

See also here.

Macro use: \macroone+\macrotwo

\macroone\macrotwo (\sum_{i=1}^{n}a_i^2)(\sum_{i=1}^{n}b_i^2)\ge(\sum_{i=1}^{n}a_ib_i)^2

A famous and useful formula: \operatorname{g}(n)=\sum_{i=1}^{n}i=\operatorname{C}_{n+1}^{2}=\frac{n(n+1)}{2}.

Some test: ~~test~~ *test*

\sum_{i=1}^{n}i^{3}=(\operatorname{g}(i))^2 $1*2=3\times\frac{2}{3}=6*\frac{1}{3}\neq123 123\le123\le145\lt145.1

Paragraph 1.

Paragraph 2.

Wrong Paragraph 1. Wrong Paragraph 2.

Line 1.
Line 2. \ Line 3.

H1

H2

H3

H4

H5
H6

Normal text.[^1]

Text1 Text2 Text3 Text4 Text5 \ Symbols: * _ ~

// unspecific language
#include <bits/stdc++.h>
using namespace std;

signed main()
{

    return 0;
}
// with line numbers
#include <bits/stdc++.h>
using namespace std;

signed main()
{

    return 0;
}
// highlight line 1,3-6
#include <bits/stdc++.h>
using namespace std;

signed main()
{

    return 0;
}

Hello world, this is a inline code block.

hello world

much more hello

world


#include <bits/stdc++.h>
using namespace std;
signed main()
{

    return 0;
}
  1. list1
  2. list2
  3. list3
  4. list1
  5. list2
  6. list3

Split text.

  1. list1

  2. list2

  3. list3

Split it.

  1. A
  2. B
  3. C D
  4. E FF \ GGGG H

Read more about markdown & \KaTeX

https://www.luogu.com.cn/

Left Align Middle Align Right Align
Context Context Context
^ Another text <

::cute-table{tuack}

Left Align Middle Align Right Align
Context Context Context
^ Another text <

::cute-table{tuack} | Left Align | Middle Align | Right Align | |:-|:-:|-:| | Context | Context | Context | | ^ | Another text | < |

:::align{center} Some text. :::

:::align{right} Some more text. :::

:::epigraph[From ?] Hello, world. :::

::::info[Info!] :::info[Much more info!] Info. ::: Info. ::::

:::warning{open} Default open. :::

:::success[\LaTeX is ok^2]{open} Hey. :::

:::error[Do not open this!] Nothing. :::

Anti-ai zone:

Useless: ::anti-ai{123} OK: ::anti-ai[123]

Fake: ::anti-ai[123]

::anti-ai[12 3] ::anti-ai[123]{456}

::anti-ai[123]{456}[789]

::anti-ai123 ::anti-ai(456)[123]

[^1]: 洛谷 Markdown 格式手册

折叠框【新特性】

Hello from back.

https://www.luogu.com.cn is good. Here's a auto-link.

:dog: :cat: &#x1F92B; &#x0202;