typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Github Alert with custom CSS, the content is not reflected in the output Files

Open 273c opened this issue 1 year ago • 2 comments

The latest version of Typora 1.8 and above had the following behavior

When rewriting the content of a Github Alert with custom CSS, the content is not reflected in the output PDF, HTML, and Pandoc export files.

・The content is displayed on Tyopora. ・It is not displayed in all exported files. ・Custom CSS is put in base.user.css. (This is the same if you put it in base.theme.user.css)

This is very troubling behavior and this is one area where I personally feel there is no point in using github Alert. Once this is resolved, I am sure it will make for a much better writing experience.

273c avatar Jan 03 '24 17:01 273c

Could you provide sample CSS styles?

abnerlee avatar Jan 19 '24 06:01 abnerlee

.md-alert-text-note .md-alert-text-container:after { content: "注意"; }

The display on Typora is "note", but it is still "note" in PDF export and HTML export.

273c avatar Jan 21 '24 06:01 273c