feat: change compact post style
This commit is contained in:
1 parent
4ba2235c01
commit
9833a775c4
3 files changed
+145
-125
No files matched your search
@@ -30,7 +30,7 @@ export const md = new MarkdownIt({
|
||||
.use(markdown_it_sup)
|
||||
|
||||
export const mdInline: MarkdownIt = new MarkdownIt('zero')
|
||||
.enable(['emphasis', 'backticks', 'strikethrough', 'link'])
|
||||
.enable(['emphasis', 'backticks', 'strikethrough', 'link', 'list', 'heading'])
|
||||
.use(markdown_it_container, 'spoiler', {
|
||||
validate: (params: string) => {
|
||||
return params.trim().match(/^spoiler+(.*)/)
|
||||
|
||||
Reference in new issue
Block a user