Skip to content
Discussion options

You must be logged in to vote

Sure, just use CSS:

/* Inactive annotation */
.md-annotation__index::after {
  background-color: red;
}
/* Focused or hovered annotation */
:where(:focus-within, :hover) > .md-annotation__index::after {
  background-color: blue;
}

On a side note, you might want to strip comments when using annotations.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Andre601
Comment options

Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants