mirror of
https://github.com/marktext/marktext.git
synced 2025-05-07 12:21:22 +08:00
12 lines
373 B
JavaScript
12 lines
373 B
JavaScript
import { CLASS_OR_ID } from '../../../config'
|
|
|
|
export default function backlash (h, cursor, block, token, outerClass) {
|
|
const className = this.getClassName(outerClass, block, token, cursor)
|
|
const { start, end } = token.range
|
|
const content = this.highlight(h, block, start, end, token)
|
|
|
|
return [
|
|
h(`span.${className}.${CLASS_OR_ID['AG_REMOVE']}`, content)
|
|
]
|
|
}
|