1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-12 16:58:36 +00:00

Add parse_markdown rewrite function

This commit is contained in:
Gabe Cook 2022-07-27 09:55:28 -05:00 committed by Frédéric Guillot
parent 9ba15e9649
commit 36df7b36ec
4 changed files with 21 additions and 0 deletions

View file

@ -108,6 +108,8 @@ func applyRule(entryURL, entryContent string, rule rule) string {
} else {
entryContent = applyFuncOnTextContent(entryContent, "body", decodeBase64Content)
}
case "parse_markdown":
entryContent = parseMarkdown(entryContent)
}
return entryContent