todo
todo next-mdx-remote
基本
remark-breaks
remark-breaks
vdvd
This is a heading
This is a list in markdown:
- One
- Two
- Three
code block
This is an array [1, 2, 3] of numbers 1 through 3.
The name of the function is getStringLength.
The name of the function is getStringLength.
console, Mdx, JSON
这是 行内代码块 示例。
给 codeblock or pre 设置 switcher 属性可能是不太合理的方案
import { useFloating } from "@floating-ui/react";
// 斐波那契
const fibonacci = (n: number): number => {
if (n <= 1) return n
return fibonacci(n - 1) + fibonacci(n - 2)
}
console.log(fibonacci(10))class Name {
constructor(parameters) {
}
}
// hello world
const hello = async (output:type) => { //这代码怎么不长呀
console.log(output)
}
const main = async () => {
await hello('hello world')
}
try {
+ await main()
- main()
} catch (error) {
console.error(error)
}# command line
+pnpm install
-npm installmath code block
github
Autolink literals
www.example.com, https://example.com, and [email protected].
Footnote
A note1
Strikethrough
one or two tildes.
Table
Table
| 默认 | 左对齐 | 右对齐 | 居中 |
|---|---|---|---|
| 1 | 2 | 3 | 4 |
| 再来 | 一行 | dd |
Tasklist
Checkboxes
- to do
- done
Alerts
换行无效
github
github note
github tip
github important.
github a warning.
github caution.
obsidian
https://help.obsidian.md/callouts
Here's a callout block.
笔记
This is a note.
Lorem ipsum dolor sit amet
一个提示
This is a collapsible callout To preserve your formatting within a list, make sure to indent non-fenced code blocks by eight spaces.
Lorem ipsum dolor sit amet
obsidian faq
Yes! In a foldable callout, the contents are hidden when the callout is collapsed.
Aliases: question, help
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Aliases: caution, attention
Success
> [!success]
> Lorem ipsum dolor sit ametLorem ipsum dolor sit amet
Aliases: fail, missing
Lorem ipsum dolor sit amet
Aliases: error
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Aliases: cite
It supports Markdown, [[Internal link|Wikilinks]], and [[Embed files|embeds]]! ![[Engelbart.jpg]]
next
Good to know: This is a single line note.
Good to know:
- We also use this format for multi-line notes.
- There are sometimes multiple items worth knowing or keeping in mind.
Footnotes
-
Big note. ↩

