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

fix asterisk emphasis rendering by upgrading marked library #79

Closed
wants to merge 1 commit into from
Closed

fix asterisk emphasis rendering by upgrading marked library #79

wants to merge 1 commit into from

Commits on Nov 6, 2020

  1. fix asterisk emphasis rendering by upgrading marked library

    marked v1.1.1 has a problem in rendering emphasis with asterisks (see
    markedjs/marked#1754).
    
    For example,
    
        echo "*A pigeon*: a  type of *bird*" | md-to-pdf --as-html
    
    renders as
    
        <body class="">
        <p><em>A pigeon</em>: a  type of <em>bird</em></p>
        </body></html>
    
    instead of the expected:
    
        <body class="">
        <p><em>A pigeon*: a  type of *bird</em></p>
        </body></html>
    
    Version 1.1.2 resolves this issue (see
    markedjs/marked#1754 (comment)).
    petergardfjall committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    1506131 View commit details
    Browse the repository at this point in the history