簡體   English   中英

將帶有 css 的 html/xhtml 文件轉換為 pdf/epub 而不會丟失任何樣式

[英]Converting a html/xhtml file with css to pdf/epub without loosing any of the styling

I have a somewhat complicated html file and some css styling for it, for example I need to use display: flex and I have some custom fonts, font sizes and font styles.

所有這些造型的東西都是用 css 類完成的。

我可以將此 html/xhtml 文件轉換為具有相同格式的 pdf/epub 文件嗎? 我更喜歡 python/node package 或命令行工具。

您只能將 CSS2 styles 用於 pdf/epub

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM