Markdown Preview for VRT

Markdown Preview for VRT

1992 / 04 / 29

目次
この記事は1年以上更新されていません
この記事は Hatena Blog からの移行記事です

Typography (h2)

Heading h3

Heading h4

Heading h5
Heading h6

This article is for VRT.

code, strong, italic

blockquote

Image

me
code
import { Image } from "../../components/Image";
<Image alt="me" src="/images/meta/me.png" width={40} height={40} />

me

code
![me](/images/meta/me.png)

Table

foobar
11
22
code
| foo | bar |
| --- | --- |
| 1 | 1 |
| 2 | 2 |

Two column

左側のコンテンツ
右側のコンテンツ
code
::: columns
<div className="bg-amber-100">左側のコンテンツ</div>
---
<div className="bg-cyan-100">右側のコンテンツ</div>
:::

幅広のコンテンツ (2)
狭いコンテンツ (1)
code
::: columns 2:1 lg
<div className="bg-cyan-100">幅広のコンテンツ (2)</div>
---
<div className="bg-amber-100">狭いコンテンツ (1)</div>
:::

me

export function add(): number {
return 1 + 1;
}
code
::: columns 1:2 sm
![me](/images/meta/me.png)
---
::: code-group
\`\`\`ts [add.ts] {"2": 2}
export function add(): number {
return 1 + 1;
}
\`\`\`
\`\`\`js [add.js]
export function add() {
return 1 + 1;
}
\`\`\`
:::
:::

Tree

  • pages
    • index.tsx
    • about.tsx
  • components
    • Button
    • Card
code
::: tree
- pages
- index.tsx
- about.tsx
- components
- Button
- index.tsx
- styles.css
- Card
- index.tsx
- styles.css
:::

Code

$ echo "hello world"
code
\`\`\`sh
$ echo "hello world"
\`\`\`
foo.ts
const foo = "foo";
3 collapsed lines
export function getFoo() {
return foo;
}
code
\`\`\`ts collapse={4-6}
// foo.ts
const foo = "foo";
export function getFoo() {
return foo;
}
\`\`\`
PowerShell terminal example
Write-Output "This one has a title!"
code
\`\`\`powershell title="PowerShell terminal example"
Write-Output "This one has a title!"
\`\`\`
line-markers.js
function demo() {
console.log("this line is marked as deleted");
// This line and the next one are marked as inserted
console.log("this is the second inserted line");
return "this line uses the neutral default marker type";
}
code
\`\`\`js title="line-markers.js" del={2} ins={3-4} {6}
function demo() {
console.log("this line is marked as deleted");
// This line and the next one are marked as inserted
console.log("this is the second inserted line");
return "this line uses the neutral default marker type";
}
\`\`\`
export function add() {
return 1 + 1;
return 2;
}
code
\`\`\`diff lang="js"
export function add() {
- return 1 + 1;
+ return 2;
}
\`\`\`
function demo() {
// Mark any given text inside lines
return "Multiple matches of the given text are supported";
}
code
\`\`\`js "given text"
function demo() {
// Mark any given text inside lines
return "Multiple matches of the given text are supported";
}
\`\`\`
function demo() {
console.log("These are inserted and deleted marker types");
// The return statement uses the default marker type
return true;
}
code
\`\`\`js "return true;" ins="inserted" del="deleted"
function demo() {
console.log("These are inserted and deleted marker types");
// The return statement uses the default marker type
return true;
}
\`\`\`
export function add(): number {
return 1 + 1;
}
code
::: code-group
\`\`\`ts [add.ts] {"2": 2}
export function add(): number {
return 1 + 1;
}
\`\`\`
\`\`\`js [add.js]
export function add() {
return 1 + 1;
}
\`\`\`
\`\`\`html [index.html]
<div>
<p>HTML code</p>
<p>HTML code</p>
</div>
\`\`\`
\`\`\`css [style.css]
body {
background-color: #fff;
}
\`\`\`

Custom Containers

GitHub-Flavored Alerts

Note

Highlights information that users should take into account, even when skimming.

code
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
Tip

Optional information to help a user be more successful.

code
> [!TIP]
> Optional information to help a user be more successful.
Important

Crucial information necessary for users to succeed.

code
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
Warning

Critical content demanding immediate user attention due to potential risks.

code
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
Caution

Negative potential consequences of an action.

code
> [!CAUTION]
> Negative potential consequences of an action.

Details

Click to see code
::: details Click to see code
hi!
:::

Google Slides

code
import { GoogleSlidesCard } from "../../mdx/components/GoogleSlidesCard";
<GoogleSlidesCard id="2PACX-1vTW6FYDrDsP-KDNZFS0wdpWxI-ePyk_EwVV4XbxYy3skbKsyxyG_3U6Yr_tYdFZkxIBohEIrVyCgvme" />

Youtube

code
[youtube](https://www.youtube.com/watch?v=9AjkUyX0rVw)

Twitter

code
[x](https://x.com/about_hiroppy/status/1453525169293520901)

OGP

hiroppy 😵‍💫 | hiroppy's site

Hiroppy is a JavaScript engineer and working on some OSS projects and Japanese communities.

hiroppy.me
hiroppy 😵‍💫 | hiroppy's site
code
[personal site](https://hiroppy.me)

Stuff


© 2025 - Copyright Hiroppy, All Rights Reserved.