178 字
1 分钟
Markdown 标记重点
标记突出显示会引起对特定短语的注意,而不会将周围的段落变成单独的组件。 它们在构建期间渲染为本机 <mark> 元素,并继承活动的M3E颜色系统。
Default emphasis
Use ==text== when the article’s primary color should carry the emphasis. This is useful for one decision that readers should retain while they continue through an ordinary paragraph.
The marker may contain nested Markdown emphasis when the phrase needs a stronger hierarchy.
Semantic colors
Use a suffix when the meaning needs a different tonal role. The available variants are primary, secondary, tertiary, error, and tip.
- Primary connects the phrase to the active theme
- Secondary keeps a supporting distinction quiet
- Tertiary adds a separate editorial signal
- Error identifies a condition that needs correction
- Tip highlights practical guidance
Author syntax
==Primary marker==
==Secondary marker=={.secondary}==Tertiary marker=={.tertiary}==Error marker=={.error}==Tip marker=={.tip}Inline code such as ==literal marker syntax== and fenced examples stay literal, so documentation can explain the syntax without triggering it.
Markdown 标记重点
https://xn--kivr36a.1qw.top/posts/marker-highlights/分享文章
生成精美分享图或复制链接,与更多人分享本文。
继续阅读
换条路线
从其他文章中稳定抽取
最后更新于 ,距今已过 35 天
部分内容可能已过时
评论