In Markdown mode, I want to style elements that have both heading and meta tags differently than elements with just meta tags . In terms of css selectors, I want something like .heading.meta selector.
Would it be possible to do this using highlight style?. Initially ,I tried the following which turns out is a little different
export const style = HighlightStyle.define([
{
tag: tags.meta,
color: "#b7b5b7"
},
{
tag:[tags.meta,tags.heading], // instead of applying to both tags.meta and tags.heading,
color:'#f00' // i want to express match tag.meta&tag.heading
}
])