You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@void/md: three right-to-left/translation details and task lists #802
I'm building a Void app translated into Thai and Arabic, with the docs in @void/md, and hit four small things in 1.8.0.
Heading anchors in right-to-left pages.packages/md/src/theme/prose.css (166–168) places .header-anchor with float: left; margin-left: -0.87em; padding-right: 0.23em, so in a dir="rtl" page the # sticks out past the left edge. The logical forms (float: inline-start; margin-inline-start; padding-inline-end) fix it and change nothing for left-to-right pages.
The copy button in right-to-left pages.packages/md/src/theme/code.css (53) uses right: 0.5em; inset-inline-end would put it at the end of the line in either direction.
The copy button's label is fixed in English.title="Copy Code" in packages/md/src/plugins/pre-wrapper.ts (61) can't be translated. Maybe a plugin option for the label?
Task lists. The guide says the theme covers task lists, but - [ ] item renders as the literal text [ ] item. No task-list plugin is registered in compile.ts.
I'm taking this. #811 covers the task lists, and I'll add the right-to-left anchor and copy button fixes and a copyLabel option for the copy button title to the same PR.
Activity
cpojer commentedon Nov 12, 2026
Thanks. Do you wanna send a PR?
harshbhx commentedon Nov 13, 2026
I'm taking this. #811 covers the task lists, and I'll add the right-to-left anchor and copy button fixes and a
copyLabeloption for the copy button title to the same PR.fix(md): render task lists and support right-to-left pages
fix(md): render task lists and support right-to-left pages (voidzero-…