sawhney17 / logseq-pdf-export

MIT License
107 stars 6 forks source link

Data breaks the formating #21

Closed emms007 closed 2 years ago

emms007 commented 2 years ago

Hello,

We often use a block that is made of a title and a normal text. This breaks the rendering of the PDF, the next lines after in the document are not parsed.

MD content that is leading to the bug: image

- ## x
    - ### x
      background-color:: #264c9b
        - #### block 1
          background-color:: #787f97
            - #### TITLE 1
            - #### TITLE 2
            - #### Title 3
              my text inside title 3
            - Title 4
              x x x x x x x x (x x x x x x x x) x x x x x

PDF render break down: image

sawhney17 commented 2 years ago

It's a limitation of the markdown format. You could try the print with retained formatting export format in the latest version. On 12 May 2022, 7:02 PM +0400, emms007 @.***>, wrote:

Hello, We often use a block that is made of a title and a normal text. This breaks the rendering of the PDF, the next lines after in the document are not parsed. MD content that is leading to the bug:

  • x

    • x

      background-color:: #264c9b

      • block 1

         background-color:: #787f97
               - #### TITLE 1
               - #### TITLE 2
               - #### Title 3
                 my text inside title 3
               - Title 4
                 x x x x x x x x (x x x x x x x x) x x x x x

        PDF render break down: — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>