Skip to main content

MarkDown 筆記

Code blocks​

/src/components/HelloCodeTitle.js
function HelloCodeTitle(props) {
return <h1>Hello, {props.name}</h1>;
}

Syntax highlighting​

console.log('Every repo must come with a mascot.');

Admonitions​

Title

Some content with Markdown syntax. Check this api.

tip

Some content with Markdown syntax. Check this api.

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.

Headings​

Level 2 title​

Level 3 title​

Level 4 title​

Photo by Harli Marten on Unsplash

Example banner

Download this docx using Markdown

實際模樣
---
title: 編輯文章
sidebar_position: 10
sidebar_label: 編輯文章
description: 網站上線後,開始產出內容,編輯文章。
tags: [article, docusaurus]
---
note

這是備註

tip

這是提示

info

這是信息

caution

這是警告

danger

這是危險