On 5/12/20 at 9:45 AM, [email protected] (@lbutlr) wrote:

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?

Since most Markdown renderers don't generate a fully qualified HTML document, if you intend to modify the body, you'll probably instead need to use a preview template with appropriate CSS in it.

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”.

This is unlikely to make any difference, since WebKit windows are an authority unto themselves, and the view background defaults to white, irrespective of whether the rest of the application is in Dark Mode. But if you wish to make a request, you know what you need to do. :-)

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
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/r480Ps-10146i-08F9180251164939BF444F2662497D4D%40Stormwind.local.

Reply via email to