#11 Allow generation of HTML without opening browser#24
#11 Allow generation of HTML without opening browser#24Eugene-Kolesnikov wants to merge 1 commit intofbdesignpro:masterfrom
Conversation
write the html file to the filesystem without opening a browser.
|
I was looking for this! Hope this gets merged soon! |
|
Hello @Eugene-Kolesnikov, thank you so much for your contribution! For the past few weeks I've either been buried in work, or otherwise unable to check back in. I should have slightly more time now, so I can finally pipe up here! My original plan was to have more flexible outputs and this is right along those lines. You mention generating "embedded HTML" but I'm guessing you are outputting the full HTML page (i.e. HTML, HEAD). I was approaching the problem as 2 components:
"1" is pretty straightforward and is what you are doing. I was wondering if you or anyone needed "2" for purposes other than a notebook, because I would change the HTML generation to output something that is "contained" in something like a DIV of fixed size or something like that. I hope that made sense :) Either way, I will probably merge this into the next build pretty soon (I still don't have a lot of time on my hands but this will get better soon), as it seems to fulfill a need. :) |
|
This is exactly a solution I was searching for. |
Added the ability to output an embedded html code as a string as well as to write the html file to the filesystem without opening a browser.