Defect #37694
closedCommonMark Markdown task list item markers are not exported to PDF
0%
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
Updated by Marius BĂLTEANU about 2 years ago
- Target version changed from 5.0.3 to 5.0.4
Updated by Marius BĂLTEANU about 2 years ago
One way to fix this is to add some custom CSS styles to render the task items as checkboxes. Any other ideas?
Updated by Marius BĂLTEANU about 2 years ago
- Target version changed from 5.0.4 to 5.0.5
Updated by Roland Lammel almost 2 years ago
Seems also related to #38215 (formatting of nested tasklist)
Adjusting CSS for PDF export seems like a good approach here.
Updated by Go MAEDA almost 2 years ago
- Target version changed from 5.0.5 to 5.0.6
Updated by Jun NAITOH over 1 year ago
- File common_mark_acrobat.png common_mark_acrobat.png added
- File common_mark_chrome.png common_mark_chrome.png added
- File common_mark_firefox.png common_mark_firefox.png added
- File common_mark_mac_preview.png common_mark_mac_preview.png added
- File common_mark_redmine.png common_mark_redmine.png added
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.
Updated by Go MAEDA about 1 year ago
- 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
Updated by Go MAEDA about 1 year ago
- 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.
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.