We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 代码块分页的情况
代码块导出pdf,会发现如果代码块正好在两页中间,代码块的背景就会比原来的更长一些,就会影响到后面的元素,请问该如何解决
测试文档
代码块导出pdf效果.sy.zip
希望能解决这个问题,不然很影响导出pdf的效果
无
No response
The text was updated successfully, but these errors were encountered:
发现不能给code-block添加padding,得给hljs加,用下面代码就能解决了
#preview .protyle-wysiwyg .code-block { width: 98% !important; margin: 1em auto; padding: 0px; } #preview .protyle-wysiwyg .hljs { padding: 2em 1em 0.6em; }
Sorry, something went wrong.
🎨 #13349
821a58d
好奇怪,这是为什么?
Vanessa219
No branches or pull requests
改进导出 PDF 代码块分页的情况
In what scenarios do you need this feature?
代码块导出pdf,会发现如果代码块正好在两页中间,代码块的背景就会比原来的更长一些,就会影响到后面的元素,请问该如何解决
测试文档
代码块导出pdf效果.sy.zip
Describe the optimal solution
希望能解决这个问题,不然很影响导出pdf的效果
Describe the candidate solution
无
Other information
No response
The text was updated successfully, but these errors were encountered: