shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.46k stars 173 forks source link

使用prince导出pdf 表格被截断问题 #1194

Open wowsonsun opened 4 years ago

wowsonsun commented 4 years ago

当表格内容比较多时,使用prince导出pdf时,表格右边会被截断。有没有单元格内容自适应之类的配置


image

twoflyliu commented 1 year ago

我是添加下面的配置,解决的

.markdown-preview.markdown-preview { // modify your style here // eg: background-color: blue; table { max-width: 100%; td { word-wrap:break-word; word-break:break-all; } }

&.price { / Use A4 paper / @page { size: A4; } } }

BestQwerty commented 4 months ago

我是添加下面的配置,解决的

.markdown-preview.markdown-preview { // modify your style here // eg: background-color: blue; table { max-width: 100%; td { word-wrap:break-word; word-break:break-all; } }

&.price { / Use A4 paper / @page { size: A4; } } }

请问一下是加到哪里?

iXanadu13 commented 3 months ago

我是添加下面的配置,解决的 .markdown-preview.markdown-preview { // modify your style here // eg: background-color: blue; table { max-width: 100%; td { word-wrap:break-word; word-break:break-all; } } &.price { / Use A4 paper / @page { size: A4; } } }

请问一下是加到哪里?

我用的是vscode,加到项目所在文件夹/.crossnote/style.less里