[plugin rework request] HTMLView dark mode
Moderators: Hacker, petermad, Stefan2, white
[plugin rework request] HTMLView dark mode
Who can add dark mode to HTMLView?
OS: Win10 | TC: latest x64
Re: [plugin rework request] HTMLView dark mode
I have no programming skills when it comes to c++ but I googled a bit and think it can be done if you can manage to setup an environment to compile the plugins and adding some files and some lines of code.
You can find the source of htmlviewer here I think https://sites.google.com/site/htmlview/
if you look at markdownviewer here https://github.com/rg-software/wlx-markdown-viewer it says the code is based on htmlviewer and that can use "a custom CSS file for customizing the resulting look of the document. A collection of four CSS files from Markdown CSS is included into the package."
It seems to load the CSS file (defined in an ini file) here https://github.com/rg-software/wlx-markdown-viewer/blob/master/HTMLView/main.cpp#L108 - that bit is easily copied to the main.cpp of htmlview - from there on it is trial & error to make it work - once you can load a CSS via an ini file you can set it to always darkmode or prepare a script to switch between light and dark themes (probably needing to restart TC but that is small price to pay probably if you do want to switch).
Apparently you need Visual Studio 2017 (see instructions of markdownviewer)
(Again I wouldn't be able to do this, but perhaps someone with everything setup will see this and give it a shot)
You can find the source of htmlviewer here I think https://sites.google.com/site/htmlview/
if you look at markdownviewer here https://github.com/rg-software/wlx-markdown-viewer it says the code is based on htmlviewer and that can use "a custom CSS file for customizing the resulting look of the document. A collection of four CSS files from Markdown CSS is included into the package."
It seems to load the CSS file (defined in an ini file) here https://github.com/rg-software/wlx-markdown-viewer/blob/master/HTMLView/main.cpp#L108 - that bit is easily copied to the main.cpp of htmlview - from there on it is trial & error to make it work - once you can load a CSS via an ini file you can set it to always darkmode or prepare a script to switch between light and dark themes (probably needing to restart TC but that is small price to pay probably if you do want to switch).
Apparently you need Visual Studio 2017 (see instructions of markdownviewer)
(Again I wouldn't be able to do this, but perhaps someone with everything setup will see this and give it a shot)
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)