highlighting only active line markdown mark

im currently using lezer’s highlighter for Markdown, but how do i only show markdown marks when the line is active and only the rendered part without markdown mark on non-active line like obsidian?
just want to hide # and all when the line isnt active

my current working code for highlighting is

import { HighlightStyle } from "@codemirror/language";
import { tags, Tag, styleTags } from "@lezer/highlight";
export const highlightStyle = HighlightStyle.define([
        tag: tags.heading1,
        color: "white",
        fontSize: "2em",
        fontWeight: "400",

That’s not a feature that the library provides. You’d have to implement it yourself, probably by creating replacing marks for the markup tokens found in the syntax tree.