Coloured bullet points
Problem to solve
Allow specifying the colours of bullet points. Relates to #108 as oManual supports this.
Who will benefit
People that like coloured bullet points.
Proposal
Have an "official" way to colour bullet points. Could just be through standard Kramdown. Threw this together quickly:
* {: .red } red
* {: .green } green
* {: .blue } blue
* {red} red
* {green} green
* {blue} blue
supported colours (from oManual):
black
red
orange
yellow
green
blue
violet
icon_note
icon_reminder
icon_caution
<style>
ul {
list-style: none;
}
ul li::before {
content: "⏺";
// ⓘ ⚠
display: inline-block;
width: 1em;
margin-left: -1em;
}
ul li.red::before {
color: red;
}
ul li.green::before {
color: green;
}
ul li.blue::before {
color: blue;
}
</style>
<ul>
<li class="red">red</li>
<li class="green">green</li>
<li class="blue">blue</li>
</ul>
Edited by Kaspar Emanuel