Defect #37694
closed
CommonMark Markdown task list item markers are not exported to PDF
Added by pasquale [:dedalus] over 2 years ago.
Updated over 1 year ago.
Description
When the text formatting is set to CommonMark Markdown (github flavored), the export in pdf not honor this setting. For example a task list isn't exported as is but as simple numbered\bulleted list.
Files
- Target version set to 5.0.3
- Target version changed from 5.0.3 to 5.0.4
One way to fix this is to add some custom CSS styles to render the task items as checkboxes. Any other ideas?
- Target version changed from 5.0.4 to 5.0.5
Seems also related to #38215 (formatting of nested tasklist)
Adjusting CSS for PDF export seems like a good approach here.
- Target version changed from 5.0.5 to 5.0.6
I have added support for GitHub flavored Markdown task list items (extension) in rbpdf 1.21.3.
See: https://github.com/naitoh/rbpdf/pull/84
Redmine¶
PDF Output¶
Chrome 114¶
Acrobat Reader 2023.003.20244¶
Firefox 115¶
- Problem : If unchecked, not displayed.
macOS 13.4 preview¶
- Problem : CheckBox can be turned on or off.
- Target version changed from 5.0.6 to 5.0.7
- Subject changed from Export in pdf not honor the CommonMark Markdown (github flavored) text formatting to CommonMark Markdown task list item markers are not exported to PDF
- Target version changed from 5.0.7 to 5.0.6
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Jun NAITOH wrote in #note-7:
I have added support for GitHub flavored Markdown task list items (extension) in rbpdf 1.21.3.
See: https://github.com/naitoh/rbpdf/pull/84
Thank you, the problem that task list item markers are not properly exported to PDF was fixed by updating rbpdf to 1.21.3. I have committed r22318 to ensure that rbpdf 1.21.3 or later is used.
Also available in: Atom
PDF