Skip to content

Commit

Permalink
feat: Add star marker to top level section
Browse files Browse the repository at this point in the history
  • Loading branch information
dstoc committed Nov 4, 2024
1 parent 1f09398 commit c13222d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown/block-render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class MarkdownBlock extends LitElement implements SigpropHost {
node[viewModel].parent?.type !== 'section' &&
!node[viewModel].previousSibling
) {
this.marker = undefined;
this.marker = '★';
} else {
const idx = Math.min(node.marker.length - 1, 9);
const n = '₁₂₃₄₅₆₇₈₉ₙ'[idx];
Expand Down

0 comments on commit c13222d

Please sign in to comment.