mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: implement gomark parsers
This commit is contained in:
@ -7,10 +7,8 @@ import (
|
||||
|
||||
type CodeParser struct{}
|
||||
|
||||
var defaultCodeParser = &CodeParser{}
|
||||
|
||||
func NewCodeParser() *CodeParser {
|
||||
return defaultCodeParser
|
||||
return &CodeParser{}
|
||||
}
|
||||
|
||||
func (*CodeParser) Match(tokens []*tokenizer.Token) (int, bool) {
|
||||
|
Reference in New Issue
Block a user