Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Output Style Customization

A topic by wyrframe created 87 days ago Views: 96 Replies: 4
Viewing posts 1 to 3
(1 edit)

Is there any means available to customize the colours used in Preview and in HTML output? This red-on-grey for monospaced text is almost unreadable, and doesn't appear to be affected by any of the preferences.

Version: 0.40.2

Screenshot: (editor on left, preview window on right)


OS: Windows 10

Hi,

Not at present. For HTML output, you could create your own stylesheet and add it (manually) to the “Unstyled HTML” output from deepdwn, but that’s not very convenient.

Understood, thanks. I did try searching for it first, and did find stylesheets in `app.asar`, including ".markdown-body pre code" sections... but not the colour codes specifically you were using, so hoped they might be parameterized and generated somewhere.

I don't suppose there could be an option in the GUI to choose a custom stylesheet to append to exported HTML -- at the user's own risk -- so I don't have to hand-hack the output or have a script postprocess it? :)

I’d like to add something like this at some point, for sure. Can you tell me about your use case? How do you use the HTML exports today?

Right now, I just want the HTML-exported documentation I write to be readable by my coworkers... so as of this moment I have an `.sh` script I drag/drop the exported HTML onto, which uses `sed` to rewrite the colour codes in the CSS.

moved this topic to Requests