I use a lot of Markdown docs with a linked CSS file.
That works generally fine in DTP, but when I change the CSS (in DTP or outside) the rendered version of a Markdown document linking to this CSS file does not always change, only sometimes… Looks like the CSS is cached somewhere in Devonthink.
The only certain way I know of to force using the changed CSS is shutting down DTP!!! Is there a better way?
Right-click and convert the file to HTML to preview the change has been made.
This often will immediately affect the rendering of the Markdown file when subsequently viewed.
@BLUEFROG Clever ideam but unfortunately this does not work: The converted HTML file is still displayed with the old style sheet information.
@cgrunenberg The HTML source does use the correct in-database path in the LINK tag drawing in the CSS file. So I assume it has nothing to do with Markdown or HTML but with the fact that DTP somehow caches the CSS file itself.
Would be great to be able ti flush this cache without restarting DTP…
It’s not a cache issue of the WebKit either (or emptying the cache doesn’t work as expected) but the next maintenance release will slightly revise the handling, maybe this will help.
FYI for anyone finding this thread and wondering about other solutions: I describe a simple method in another posting that is useful for iterating CSS designs.