mirror of https://github.com/usememos/memos.git
chore: fix highlight cursor
This commit is contained in:
parent
8455114eef
commit
10d709c167
|
|
@ -40,5 +40,5 @@ func (*HighlightParser) Match(tokens []*tokenizer.Token) (ast.Node, int) {
|
|||
|
||||
return &ast.Highlight{
|
||||
Content: tokenizer.Stringify(matchedToken[2:cursor]),
|
||||
}, cursor + 1
|
||||
}, cursor + 2
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue