atom-ui icon indicating copy to clipboard operation
atom-ui copied to clipboard

Unreadable content in markdown-preview code blocks

Open arcticicestudio opened this issue 8 years ago • 6 comments

The color for plain text in markdown-preview code blocks is equal the background color and can therefore not be seen.

ghi-46-scrot-before

ghi-46-scrcast-before

This issuse describes a similar bug as #45.

arcticicestudio avatar Nov 23 '16 19:11 arcticicestudio

Changed to @markdown-preview-text-color.

ghi-46-scrot-after

arcticicestudio avatar Nov 23 '16 19:11 arcticicestudio

I just installed nord-atom-ui for the first time (0.10.2) and am still affected by this. Is there something else I need to do?

Beautiful theme by the way.

@arcticicestudio

dpehrson avatar Mar 12 '17 03:03 dpehrson

Thanks for your report 👍 This is caused by the new Theming API introduced in Atom 1.13.0. I'll have to move this feature to the Nord Atom Syntax package because the new CSS selectors won't allow to override syntax highlighted elements outside of the syntax theme package itself. I also think that this should be supported by the syntax theme anyway since it styles a result of a language and is not related to parts of the UI.

I'll create a issue for it and add a @-mention so you can track the progress 😄

arcticicestudio avatar Mar 14 '17 18:03 arcticicestudio

@arcticicestudio Thanks, I absolutely love the theme and am using it across everything I can.

dpehrson avatar Mar 14 '17 18:03 dpehrson

I'll try to migrate the code to the Nord Atom UI next weekend. In the meantime you can change the ⚛️ Atom core package markdown-preview to render previews with the GitHub style as a workaround to avoid these unreadable code blocks. It can be changed in the package settings.

ghi-46-scrot-github-style

arcticicestudio avatar Mar 26 '17 16:03 arcticicestudio

I just recently installed the nord-atom-ui with the nord syntax package. But in markdown preview, any text written in code blocks is not displayed on the screen unless highlighted. Please resolve the issue. image

RohanChacko avatar Jun 24 '19 17:06 RohanChacko