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 d19b69e commit 5ed6751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/markdown/toggleStarred.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function toggleStarredPlugin(md: MarkdownRenderer) {
if (
!excluded.includes(env.frontmatter.title) &&
contentToken &&
contentToken.content.startsWith(':star:' ':Glowing Star:')
contentToken.content.startsWith(':star:')
) {
return `<li class="starred">`
}
Expand Down

0 comments on commit 5ed6751

Please sign in to comment.