Skip to main content

MDX v2 Test

function helloWorld() {
console.log("Hello, world!");
}

Math.PI is 3.141592653589793

/src/components/HelloCodeTitle.js
import React from "react";

function MyComponent(props) {
if (props.isBar) {
return <div>Bar</div>;
}

return <div>Foo</div>;
}

export default MyComponent;

Lorem ipsum.

Explicit Id Heading

Lorem ipsum.

Admonitions

:::note

Some content with markdown syntax. Check this api.

:::

Start your site

Run the development server:

cd my-website
npm run start

The cd command changes the directory you're working with.

Link to explicit heading

Image test

Example banner

Files assets test

Download this png

or

Download this png using Markdown

Inline SVG test

MDX v2 Demo

Admonitions

something

Some content with markdown syntax. Check this api.

:::note

Some content with markdown syntax. Check this api.

:::

:::note Your Title

Some content with markdown syntax.

:::

:::info

Some content with markdown syntax. Check this api.

:::

:::caution

Some content with markdown syntax. Check this api.

:::

:::danger

Some content with markdown syntax. Check this api.

:::

GFM

www.example.com, https://example.com, and contact@example.com.

Footnote

A note[^1]

[^1]: Big note.

Strikethrough

one or two tildes.

Table

aaaaaabbbbbbbbbcccccdddd
1234

Tasklist

  • to do
  • done