Skip to content

feat: use native Confluence task list macros - #20

Merged
geopanther merged 1 commit into
mainfrom
feat/mistune-3x-confluence-plugins
May 7, 2026
Merged

feat: use native Confluence task list macros#20
geopanther merged 1 commit into
mainfrom
feat/mistune-3x-confluence-plugins

Conversation

@geopanther

Copy link
Copy Markdown
Owner

Summary

Replace HTML <input> checkboxes with native Confluence ac:task-list/ac:task macros for task list rendering. Confluence strips <input> elements, causing task lists to render without checkboxes.

Changes

  • Override task_list_item() in ConfluenceRenderer to emit ac:task with ac:task-id, ac:task-status (complete/incomplete), and ac:task-body
  • Override list() to wrap task items in ac:task-list instead of <ul>
  • Update README plugin table: task lists now documented as "Rendered as native Confluence task list"
  • Update test assertion to check for ac:task-list instead of task-list-item-checkbox

Tests performed

  • All 140 unit tests pass
  • Uploaded test page to Confluence and verified task list checkboxes render correctly with proper complete/incomplete status

Replace HTML <input> checkboxes (stripped by Confluence) with native
ac:task-list/ac:task macros. Task lists now render with proper
checkboxes and complete/incomplete status in Confluence.
@geopanther
geopanther merged commit ad724c6 into main May 7, 2026
5 checks passed
@geopanther
geopanther deleted the feat/mistune-3x-confluence-plugins branch May 13, 2026 09:28
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.

1 participant