415 字
2 minutes
Markdown Extended Features
2024-05-01
2026-09-09

GitHub Repository Cards#

You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.

Fabrizz
/
MMM-OnSpotify
Waiting for api.github.com...
00K
0K
0K
Waiting...

Create a GitHub repository card with the code ::github{repo="<owner>/<repo>"}.

::github{repo="iyanarmanda/fumika"}

Admonitions#

Following types of admonitions are supported: note tip important warning caution

NOTE

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

TIP

Optional information to help a user be more successful.

IMPORTANT

Crucial information necessary for users to succeed.

WARNING

Critical content demanding immediate user attention due to potential risks.

CAUTION

Negative potential consequences of an action.

Basic Syntax#

:::note
Highlights information that users should take into account, even when skimming.
:::
:::tip
Optional information to help a user be more successful.
:::

Custom Titles#

The title of the admonition can be customized.

MY CUSTOM TITLE

This is a note with a custom title.

:::note[MY CUSTOM TITLE]
This is a note with a custom title.
:::

GitHub Syntax#

TIP

The GitHub syntax is also supported.

> [!NOTE]
> The GitHub syntax is also supported.
> [!TIP]
> The GitHub syntax is also supported.

Spoiler#

You can add spoilers to your text. The text also supports Markdown syntax.

The content is hidden ayyy!

The content :spoiler[is hidden **ayyy**]!

Typography Features#

WARNING

These feature below not supported in Frontmatter Post and TOC

Ruby Text#

Add small characters above the text. For example:

  • Welcome to Tokyoとうきょう!
  • かん are Japanese characters.
  • He is a rookiebeginner in this baseball team.
Welcome to {Tokyo}^(とうきょう)!
{[][]}^([かん][]) are Japanese characters.
He is a {rookie}^(beginner) in this baseball team.

Text Direction#

Controlling text direction (RTL/LTR) within your content.

Inline Usage:#

This is an English sentence containing an inline Persian phrase: سلام دنیا in the middle of a text.


این یک متن فارسی است که یک عبارت انگلیسی Hello World در وسط آن قرار دارد

This is an English sentence containing an inline Persian phrase: :rtl[سلام دنیا] in the middle of a text.
این یک متن فارسی است که یک عبارت انگلیسی :ltr[Hello World] در وسط آن قرار دارد

Single-Line Block Usage:#

این یک خط متن کامل به زبان فارسی است.

This is a full single-line sentence explicitly rendered as LTR.
::rtl[این یک خط متن کامل به زبان فارسی است.]
::ltr[This is a full single-line sentence explicitly rendered as LTR.]

Container Block Usage:#

عنوان فارسی

این یک بلوک کامل شامل چند پاراگراف به زبان فارسی است.

  • آیتم اول
  • آیتم دوم

English Sub-section

This whole block is explicitly forced to be LTR inside an RTL document.

:::rtl
**عنوان فارسی**
این یک بلوک کامل شامل چند پاراگراف به زبان فارسی است.
- آیتم اول
- آیتم دوم
:::
:::ltr
**English Sub-section**
This whole block is explicitly forced to be LTR inside an RTL document.
:::
Markdown Extended Features
https://fumika-demo.netlify.app/zh-TW/posts/markdown-extended/
作者
Fumika
發佈於
2024-05-01
更新於
2026-09-09
許可協議
CC BY-NC-SA 4.0