Skip to content

Commit 5c370f8

Browse files
committed
feat: ignore video render
1 parent ed1b0ac commit 5c370f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/logseq/tool.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const cleanBlock = (block: LogseqBlockType): string => {
2424
.replaceAll(/^:logbook:[\S\s]*?:end:$/gim, '') // clean logbook
2525
.replaceAll(/^:LOGBOOK:[\S\s]*?:END:$/gim, '') // clean logbook
2626
.replaceAll(/\$pfts_2lqh>\$(.*?)\$<pfts_2lqh\$/gim, '<em>$1</em>') // clean highlight
27+
.replaceAll(/{{video .*?}}/gm, '')
2728
.replaceAll(/^\s*?-\s*?$/gim, '')
2829
.trim();
2930
};

0 commit comments

Comments
 (0)