mirror of
https://github.com/fmhy/edit.git
synced 2026-01-17 21:43:58 +00:00
Update toggleStarred.ts
This commit is contained in:
@@ -30,7 +30,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
|
||||
|
||||
if (
|
||||
!excluded.includes(env.frontmatter.title) &&
|
||||
(content.includes(':star:') || content.includes('🌟')) // Directly check for emojis
|
||||
(content.includes(':star:') || content.includes(':glowing-star:')) // Directly check for emojis
|
||||
) {
|
||||
return `<li class="starred">`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user