如何把css文件从mdx中导出来?

有几部词典没有独立的css文件,只有mdx和mdd。
有没有什么简单的办法可以把css文件从mdx中提取出来改为外置?
不会python,不会编程,不懂。

同名即可……

Sometimes the css file is bundled within the mdd file. You need to extract it with something like pyglossary.

有时css文件捆绑在mdd文件中。您需要使用pyglossary之类的东西来提取它。

1 个赞

不道啊我就用欧路

如果css放进mdd了还可以用mdxexport解压,
但mdd里都没有的话,建议放弃治疗,因为这种样式一般是放在HTML的style属性里面的,什么其他属性都没有,style属性的优先级还是高于css的。改动成本高效果还不一定有多好

1 个赞

试过,同名无效

CSS里的样式加!important试试。

1 个赞