Can I create an HTML page using javascript in Electron?
<p>I know there is a way to load an html page</p>

<pre><code>win.loadURL("index.html");
</code></pre>

<p>But, can I just load an html page when it's not from a file, just dynamically generated by javascript?</p>

<p>For example:</p>

<pre><code>str = generateHtmlPage();
win.loadstr(str);  // just load from a string
</code></pre>