mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-23 23:52:34 +00:00
use regexputil
This commit is contained in:
@@ -40,7 +40,7 @@ func macros(templates *template.Template) ([]macro.Macro, error) {
|
||||
return []byte(strings.Join(line, "\n"))
|
||||
}
|
||||
|
||||
macros, _, err := macro.LoadMacros(
|
||||
macros, _, err := macro.ExtractMacros(
|
||||
[]byte(text(
|
||||
`<!-- Macro: @\{([^}]+)\}`,
|
||||
` Template: ac:link:user`,
|
||||
|
||||
Reference in New Issue
Block a user