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
7bd20a81e2
commit
d19b69e137
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
|
||||||
if (
|
if (
|
||||||
!excluded.includes(env.frontmatter.title) &&
|
!excluded.includes(env.frontmatter.title) &&
|
||||||
contentToken &&
|
contentToken &&
|
||||||
contentToken.content.startsWith(':star:')
|
contentToken.content.startsWith(':star:' ':Glowing Star:')
|
||||||
contentToken.content.startsWith(':Glowing Star:')
|
|
||||||
) {
|
) {
|
||||||
return `<li class="starred">`
|
return `<li class="starred">`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue