Change bullet style and color in live preview

Does anyone know how to change the style and the color of the bullet points in the new live preview ?

1 Like

Yes !! Like that :
.markdown-source-view.is-live-preview .list-bullet {
color: #…;
}

2 Likes

Thank you, it works. And what about the shape ?

This works for me :

.HyperMD-list-line .list-bullet {
display: none !important;
}

.HyperMD-list-line-1:before{
content: “the symbol you want”;
}

.HyperMD-list-line .cm-hmd-list-indent:after {
content: “the symbol you want”;
}

Thank you again, @Thiews.

The first solution has issues with ordered list. This one is better :

.HyperMD-list-line .list-bullet{
font-size: 0px;
}

.HyperMD-list-line .list-bullet:before{
content: “→”;
font-size: 1rem !important;
color: #what you want;
}

I haven’t found a good solution for outline in live preview

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.