Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
When extracting a PDF file, if there is a code block which is cut into two pages, the line numbers are a mess.
Expected result
make sure the line numbers are correct
Screenshot or screen recording presentation
No response
Version environment
- Version: 2.10.11
- Operating System: Windows 11
Log file
No need I think
More information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]Please enter the title of the bug report[/-][+]The code block's line numbers are a mess in PDF file[/+]88250 commentedon Oct 21, 2023
If convenient, please provide code blocks or export .sy.zip for uploading for testing, thank you.
Ref: https://ld246.com/article/1697600947047
dream-tentacle commentedon Oct 22, 2023
第十一周.sy.zip
[-]The code block's line numbers are a mess in PDF file[/-][+]Improve PDF export code block line number display[/+]🎨 fix #9471
🎨 #9471
Vanessa219 commentedon Oct 24, 2023
又优化了下,还麻烦下个版本看看。如果行数过多的话 ,Chrome 导出存在分页时也会有同样的问题,估计只能移除行号再导出了。
🎨 #9471
🎨 #9471
7 remaining items