This is an embed iframe of [Drei's `
This is an embed iframe of [Drei's `
```
result:
---
Although it is probably better to use CSS for this:
```md
```
result:
> [!NOTE]
> See [`MDX_BASEURL`](/getting-started/introduction#configuration:~:text=MDX_BASEURL) to understand how it is converted to a full URL.
]]>Hello, {who}!
) } ``` ```` result: ```tsx {1,4-6} showLineNumbers type Props = {who: string} function Hi({who}: Props) { return (Hello, {who}!
) } ``` --- You can start at a specific `X` line number `showLineNumbers=X`: ````md ```tsx {1,4-6} showLineNumbers=150 type Props = {who: string} function Hi({who}: Props) { return (Hello, {who}!
) } ``` ```` result: ```tsx {1,4-6} showLineNumbers=150 type Props = {who: string} function Hi({who}: Props) { return (Hello, {who}!
) } ``` --- `diff` format is supported: ````md ```diff diff --git a/example.txt b/example.txt index 8c3317a..47ea956 100644 --- a/example.txt +++ b/example.txt @@ -1,4 +1,4 @@ -Hello, World! +Hello, GitHub World! Here are some changes: -This line will be modified. +This line has been modified. This line will stay the same. ``` ```` result: ```diff diff --git a/example.txt b/example.txt index 8c3317a..47ea956 100644 --- a/example.txt +++ b/example.txt @@ -1,4 +1,4 @@ -Hello, World! +Hello, GitHub World! Here are some changes: -This line will be modified. +This line has been modified. This line will stay the same. ``` ]]>