Support checkbox rendering for org-mode

Why

GitLab supports checkbox rendering in Markdown, but checkbox markers ([X], [ ]) in org-mode files are not rendered (Org-mode: support checkboxes (#14290)).

What this MR does

Introduces Banzai::Filter::OrgmodeCheckboxFilter to convert checkbox markers into HTML <input type="checkbox"> elements, matching the rendering of Markdown task lists.

Screenshots

Visually confirmed rendering:

Before (GitLab.com) After (GDK-in-a-box)
before_org_checkbox after_org_checkbox

Sources:

- [X] Completed task
- [ ] Uncompleted task

Notes

  • No docs updates included — this area isn't well covered by existing documentation. If there are specific docs that should be updated, please flag them.
  • Backend engineer, but fairly new to Rails – feedback on Rails conventions welcome.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by skkzsh

Merge request reports

Loading