Skip to content

gkTim/inkdrop-tag-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inkdrop-tag-badge

A plugin for Inkdrop to allow to create tag badges.

usage example

Install

ipm install tag-badge

Usage

Syntax Result
[[Default]] Default badge
[[s:Success]] Success badge
[[e:Error]] Error badge
[[w:Warning]] Warning badge
[[i:Info]] Warning badge

Compatibility

Keep in mind that tag badge is not part of the official CommonMark or Github Flavored Markdown specification. Therefore using the [[]] syntax to create a tag badge might be ignored by other Markdown readers and as a result carry over to the rendered text.

Theming support

Theme developers can use the following CSS selectors for styling.

Selector Description
.mde-preview span.tag Default tag badge.
.mde-preview span.tag.s Success tag badge.
.mde-preview span.tag.e Error tag badge.
.mde-preview span.tag.w Warning tag badge.
.mde-preview span.tag.i Info tag badge.

About

An Inkdrop plugin to add tag badges to markdown.

Resources

License

Stars

Watchers

Forks

Packages

No packages published