miceroux
v1.0.5
Published
AsciiDoctor renderer for web sites
Downloads
3
Maintainers
Readme
miceroux - ミセルー
photo credit: InstructionalSolutions Keyboard and Blank Paper via photopin (license)
HTML要素内のAsciiDoc文書をHTMLに変換して「見せる」JavaScriptです。
Sample
<!-- ASciiDoc in PRE element -->
<pre class="code asciidoc">
http://asciidoctor.org[*Asciidoctor*]
running on https://opalrb.com[_Opal_]
brings AsciiDoc to Node.js!
</pre>
<!-- include the `miceroux.min.js` -->
<script
type="application/javascript"
src="https://takamin.github.io/js/miceroux.min.js"></script>
<script type="application/javascript">
// Preview the AsciiDoc in PRE.
Miceroux.asciidoc("pre.code.asciidoc");
</script>
LICENSE
このモジュールはMITライセンスで公開します。