Rename function to be more generic, since it parses users

This commit is contained in:
Zetaphor 2023-06-22 16:02:27 -03:00
parent ade8e1a9ea
commit 7bd90da1f8

View file

@ -73,7 +73,7 @@ const html5EmbedConfig = {
}, },
}; };
function localCommunityLinkParser(md: MarkdownIt) { function localInstanceLinkParser(md: MarkdownIt) {
md.core.ruler.push("replace-text", state => { md.core.ruler.push("replace-text", state => {
for (let i = 0; i < state.tokens.length; i++) { for (let i = 0; i < state.tokens.length; i++) {
if (state.tokens[i].type !== "inline") { if (state.tokens[i].type !== "inline") {