markdown-transform
markdown-transform copied to clipboard
Pdf transform: link with formatting do not get properly translated
Bug Report 🐛
If a link contains formatted text (e.g., emphasized) it is sometimes not rendered into pdf.
Expected Behavior
Links should be properly rendered.
Current Behavior
Links are not always properly rendered.
Possible Solution
Render the links that are not properly rendered.
Steps to Reproduce
- Example CiceroMark:
{ "$class": "org.accordproject.commonmark.Document", "xmlns": "http://commonmark.org/xml/1.0", "nodes": [ { "$class": "org.accordproject.commonmark.Link", "destination": "https://docusign.com", "title": "This link", "nodes": [ { "$class": "org.accordproject.commonmark.Emph", "nodes": [ { "$class": "org.accordproject.commonmark.Text", "text": "This link" } ] } ] }, { "$class": "org.accordproject.commonmark.Emph", "nodes": [ { "$class": "org.accordproject.commonmark.Text", "text": " is to DocuSign." } ] } ] } - Convert to pdf:
markus transform --from commonmark --to pdf --input ./link.json --output test.pdf - Attached is the pdf where the link is missing.