Closed pjrinaldi closed 1 year ago
double clicking should display the html natively, which i can either try to create a fox netsurf, and include it or simply just launch netsurf and require it or the viewer?
i've got the html text displayed when you click on an html file. i need to now implement the html viewer for the text, but that will be much tougher.
decided not to implement a html viewer, too much work and beyond my coding knowledge at the moment. Even if i could figure it out, I would rather spend time building other features, so I added a setting for choosing the html viewer binary path, which gets launched when you double click a html file. tested and working. i am using luakit, but the user can set it to whatever they want.
I can either try to build a foxtoolkit frontend to netsurf, or i can simply parse the html using the libhubbub library and then display the html in the plain text viewer. I like this one best, as it simplifies stuff...