hscript string to virtual node?
chrisabrams opened this issue · 1 comments
chrisabrams commented
You recommend the html2hscript tool for taking html to hyerscript. This tools retuns a string, where your library runs as a function. How can I take the string returned by html2hscript
and get the same output as running h(whatever)
?
dominictarr commented
can you post this issue on html2script? I don't really know much about it I just link to it because it's part of the hyperscript ecosystem... But, i think you need to run that file as javascript... maybe with var h = require('hyperscript');
at the top?