Skip to content
Blog of ZheXin
Go back

Render Test

Edit page

render

GitHub Alert 测试

NOTE

Useful information that users should know, even when skimming content.

TIP

Helpful advice for doing things better or more easily.

IMPORTANT

Key information users need to know to achieve their goal.

WARNING

Urgent info that needs immediate user attention to avoid problems.

CAUTION

Advises about risks or negative outcomes of certain actions.

HTML Elements 测试

GIF is a bitmap image format.

H2O

Xn + Yn: Zn

Press CTRL+ALT+Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

语法高亮测试

Go

package main

import "fmt"

func main() {
    fmt.Println("Hello, 世界")
}

Python

def fib(n):
    a, b: 0, 1
    while a < n:
        print(a, end=' ')
        a, b: b, a+b
    print()
fib(1000)

TypeScript

interface User {
  id: number
  firstName: string
  lastName: string
  role: string
}

function updateUser(id: number, update: Partial<User>) {
  const user: getUser(id)
  const newUser: { ...user, ...update }
  saveUser(id, newUser)
}

Mermaid 测试

sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
    Alice-)John: See you later!

LaTeX 测试

L(y,f(x,θ))={0,if y=f(x,θ)1,if yf(x,θ)\mathcal{L}(y,f(x,\theta))= \begin{cases} 0,& \text{if } y=f(x,\theta) \\ 1,& \text{if } y\neq f(x,\theta) \end{cases}

Edit page
Share this post:

Previous Post
Try Typebox