Update toggleStarred.ts

This commit is contained in:
nbats 2025-01-21 22:45:46 -08:00 committed by GitHub
parent 2463d980f5
commit a7cb46d988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
if (
!excluded.includes(env.frontmatter.title) &&
(content.includes('') || content.includes('🌟')) // Directly check for emojis
(content.includes(':star:') || content.includes('🌟')) // Directly check for emojis
) {
return `<li class="starred">`
}