Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf generation doesn't handle complicated headings properly #335

Closed
jeromesimeon opened this issue Sep 21, 2020 · 1 comment
Closed

pdf generation doesn't handle complicated headings properly #335

jeromesimeon opened this issue Sep 21, 2020 · 1 comment
Labels

Comments

@jeromesimeon
Copy link
Member

Describe the bug
Transform to pdf does not handle heading with complex content properly, losing some of the content and internal markup.
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Try to transform the following markdown to pdf:

This is a
*complicated*
heading
==============

Here is some text

Using Markus:

bash-3.2$ markus transform --from markdown --to pdf --output test.pdf --input test.md 
10:37:32 AM - info: Creating file: test.pdf
10:37:32 AM - info: 
<binary pdf data>

This results in the following pdf:
test.pdf

The result should be consistent with the rendered markdown:
Screenshot 2020-09-21 at 10 35 33 AM

@jeromesimeon
Copy link
Member Author

Fixed in #337

Fix handles table of content. For instance on the new test/data/contract.md

Containing a heading 2:

Title2
*(Heading Two)*
**on several lines**
----

Properly generates a TOC:

Screenshot 2020-09-21 at 3 16 00 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant