typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Github Style Alert cannot show in HTML or PDF #6014

Open HoeYeungHo opened 6 months ago

HoeYeungHo commented 6 months ago

Describe the bug I know Github Style Alert did not adapt to i18n, so I followed the documentation to modify the CSS file, and all of this worked in typora, which is great! But when I export the markup to an HTML or PDF file, it has an effect on the style of Github Style Alert, but it does not have an effect on its text content.

Screenshots / Screencasts 1712064125090

Desktop (please complete the following information):

Windows 11 64bit

Typora Version

Typora 1.8.10

HoeYeungHo commented 5 months ago

In my spare time, I tried exporting to other formats (including images, docx, epub, and LaTeX) and found that this issue still exists. All text information modified in CSS cannot be displayed properly. In addition, I also tried the printing option, but it still couldn't be displayed properly.

Typora Version: Typora 1.8.10

abnerlee commented 5 months ago

We may support this in PDF / HTML, but since this approach is not a Github Markdown spec, we may not extend this to other export fomats.