mirror of
https://github.com/fmhy/edit.git
synced 2025-07-31 00:02:17 +10:00
Update toggleStarred.ts
This commit is contained in:
parent
f61b036830
commit
5345c1c193
1 changed files with 1 additions and 1 deletions
|
@ -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">`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue