On 09 May 2020, at 09:27, Rich Siegel <[email protected]> wrote:
> 
> On 5/9/20 at 5:51 AM, [email protected] (@lbutlr) wrote:
> 
>> When I preview markdown files, they appear with white background. This
>> is fine in HTML files since I can easily overwrite the style myself
>> and it should show the HTML correctly, but there’s seemingly nothing I
>> can do about the Markdown preview.
> 
> Why not? You can put <style> tags in Markdown,

True enough, thought that alters the markdown file in ways I do not necessary 
want to do (I don’t need to enforce my dark mode on others).

> as well as choose an alternative external CSS file in the preview window's 
> control bar at the top of the window.

I did finally find how to do that on page 259 "DefaultCSS_Markdown.css”. The 
drop down on the preview window only shows (no CSS) and it might be good if 
that could open the appropriate folder? And so far, trying to alter the style 
for markdown preview is… odd. The only handy;er that seems to work is * {…} and 
not pre {…} or code {…} (which is what copy style HTML shows) or even body {…}. 
Are there sample files?

I still would like to see a setting where the Preview window used the BBEdit 
theme, especially since it appears I’ll have to create a custom css file for 
each type of document I preview to prevent the “white flash of doom”.

(I know this is not an issue many people have, but I have recently developed a 
very bad sensitivity to bright screens and am trying to “dark mode my life” as 
much as possible. This is making reading PDFs, for example, difficult, as after 
a very few minutes I have to stop.)




-- 
FOUR QUEENS. HMM. THAT IS VERY HIGH. Death looked down at his cards,
        and then up into Granny's steady, blue-eyed gaze. Neither moved
        for some time. Then Death laid the hand on the table. I LOSE, he
        said. ALL I HAVE IS FOUR ONES.


-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/1921F25D-B186-4C82-8CA4-7ADC834D4604%40kreme.com.

Reply via email to