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

这是 行内代码块 示例。

Warning

给 codeblock or pre 设置 switcher 属性可能是不太合理的方案

title.ts
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)
}
caption.ts
# command line
+pnpm install
-npm install

math code block

github

www.example.com, https://example.com, and [email protected].

Footnote

A note1

Strikethrough

one or two tildes.

Table

Table

默认左对齐右对齐居中
1234
再来一行dd

Tasklist

Checkboxes

  • to do
  • done

Alerts

rehype-callouts bug

换行无效

github

Note

github note

Tip

github tip

Important

github important.

Warning

github a warning.

Caution

github caution.

obsidian

https://help.obsidian.md/callouts

Info

Here's a callout block.

笔记

This is a note.

Todo

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.

obsidian 摘要

Lorem ipsum dolor sit amet

Faq

obsidian faq Yes! In a foldable callout, the contents are hidden when the callout is collapsed. Aliases: question, help

Can callouts be nested?
Yes!, they can.
You can even use multiple layers of nesting.
Help

Lorem ipsum dolor sit amet

Warning

Lorem ipsum dolor sit amet

Aliases: caution, attention

Success
> [!success]
> Lorem ipsum dolor sit amet
Failure

Lorem ipsum dolor sit amet Aliases: fail, missing

Danger

Lorem ipsum dolor sit amet Aliases: error

Bug

Lorem ipsum dolor sit amet

Quote

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

  1. Big note.