Finally find a way to change tags or hide tags in source mode / edit mode and preview

I couldn’t find an example so here is mine…

source-view:

.markdown-source-view.mod-cm6 .cm-hashtag {
  color : blue;
}

preview:

.tag {
  color : red;
}

Bonus:

only hide the tag #important:

.tag[href="#important"] {
 display: none;
}

you can edit these commands to hide tags or change color of tags or change fonts ect…

would be nice if someone could figure out how to do this [href=“important”] in source mode… :smiley:

Got it by myself… here it is:

.markdown-source-view.mod-cm6 .cm-tag-important{
  color : red;
}