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