Open yokas opened 8 years ago
Not sure that it is. You could try putting an AsciiDoc pass through block in the post body, but I think HubPress sets Asciidoctor.js to safe mode, which may make any JavaScript non executable when built. Thoughts, @anthonny ?
Is there a specific reason we use safe mode?
Passthrough block works fine - I use it for include Javascript tracker code:
++++
<!-- Piwik -->
<script type="text/javascript">
// code here
</script>
<noscript><p><!-- a image --></p></noscript>
<!-- End Piwik Code -->
++++
See _posts
in my repo 'time'...
I would like to add some js file into the generated post html, is it possible?