Skip to content

fix(editor): align bullets with list text - #170

Merged
gnacho merged 1 commit into
masterfrom
fix/169-bullet-alignment
Oct 31, 2026
Merged

gnacho merged 1 commit into
masterfrom
fix/169-bullet-alignment

Conversation

@gnacho

@gnacho gnacho commented Oct 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Center bullet ornaments on the first visible glyph of the first visual line.
  • Remove the residual width left by hidden Markdown markers so wrapped lines keep the same text offset.
  • Add regression coverage for plain and formatted text, three nesting depths, and six font sizes.

Root cause

Bullet placement used the geometry of the shrunken Markdown marker instead of the visible text. The non-zero marker scale could also leave one residual layout pixel, shifting the first line relative to its wrapped continuation.

Verification

  • make check: 1514 passed, 0 failed, 38 ignored.
  • Xvfb UI tests: bullet_alignment, marks_reveal, table_geometry, and heading_no_reflow, each 2/2 passed.
  • Visual validation completed on the local branch.

Closes #169

Center bullet ornaments on the first visible glyph instead of the shrunk Markdown marker. Remove the residual marker width so wrapped lines keep the same text offset.

Refs #169
@gnacho
gnacho merged commit 2aee8e4 into master Oct 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bullet markers sit below the vertical center of the text in all bulleted lists

1 participant