mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
Update toggleStarred.ts
This commit is contained in:
parent
044ad558b0
commit
21c73850f5
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
|
|||
if (
|
||||
!excluded.includes(env.frontmatter.title) &&
|
||||
contentToken &&
|
||||
contentToken.content.startsWith(':star:') || contentToken.content.startsWith(':star2:') // Check for both ⭐ and 🌟
|
||||
(contentToken.content.startsWith(':star:') || contentToken.content.startsWith(':star2:')) // Check for both ⭐ and 🌟
|
||||
) {
|
||||
return `<li class="starred">`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue