mirror of
https://github.com/fmhy/edit.git
synced 2026-01-11 10:56:16 +00:00
Update toggleStarred.ts
This commit is contained in:
@@ -25,6 +25,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
|
||||
!excluded.includes(env.frontmatter.title) &&
|
||||
contentToken &&
|
||||
contentToken.content.startsWith(':star:')
|
||||
contentToken.content.includes(':star2:')
|
||||
) {
|
||||
return `<li class="starred">`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user