Skip to content

truncated codeblock #55

Answered by kamilogorek
DanRoscigno asked this question in Q&A
Discussion options

You must be logged in to vote

You can work around this by adding this CSS snippet directly to your docusaurus page

/* This works around the issue of truncated code-blocks in https://github.com/signcl/docusaurus-prince-pdf/ */
@media print {
  code[class*='codeBlockLines'] {
    float: none;
    display: block;
  }
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hellodit
Comment options

Answer selected by sparanoid
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #31 on August 29, 2023 09:30.