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
5d770e2f96
commit
42c0d19b20
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.includes(':star2:')
|
||||
) {
|
||||
return `<li class="starred">`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue