On 09 May 2020, at 09:27, Rich Siegel <
sie...@barebones.com> wrote:
>
> On 5/9/20 at 5:51 AM,
kre...@kreme.com (@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.