-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support new format data:text/html #208
Comments
Any update on this? |
As I delete the quotes in const open = require('open');
open('', {app: {name: 'chrome', arguments: ['--new-window', `--app=data:text/html,<h1>Hello</h1>`]}}) |
oh nice @g8up ! Love it! |
Can't find a solution for MacOS |
I wrote an alternative solution here which creates a temporary file before calling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
data:text/html;charset=utf-8,${html}
can be render by chrome.maybe it can be supported.
eg.
The text was updated successfully, but these errors were encountered: