Skip to content

Commit

Permalink
Update toggleStarred.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nbats authored Jan 22, 2025
1 parent 7bd20a8 commit d19b69e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/.vitepress/markdown/toggleStarred.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
if (
!excluded.includes(env.frontmatter.title) &&
contentToken &&
contentToken.content.startsWith(':star:')
contentToken.content.startsWith(':Glowing Star:')
contentToken.content.startsWith(':star:' ':Glowing Star:')
) {
return `<li class="starred">`
}
Expand Down

0 comments on commit d19b69e

Please sign in to comment.