feat: easier mention syntax
This commit is contained in:
@@ -70,6 +70,8 @@ export const renderPageContent = (
|
||||
tree: null,
|
||||
}
|
||||
|
||||
content = content.replace(/(@\w+)/g, "<mention>$1</mention>")
|
||||
|
||||
let contentHTML = ""
|
||||
let result: any = null
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user