bug fix: postID -> post_index
This commit is contained in:
@@ -101,6 +101,13 @@ export function render_comment(comment_content) {
|
||||
};
|
||||
export function render_md(content) {
|
||||
const markdownit = require("markdown-it")
|
||||
const md = markdownit()
|
||||
const md = markdownit({
|
||||
html: false,
|
||||
xhtmlOut: false,
|
||||
breaks: true,
|
||||
linkify: false,
|
||||
typographer: true,
|
||||
quotes: true,
|
||||
})
|
||||
return md.render(content)
|
||||
};
|
||||
|
Reference in New Issue
Block a user