miceroux
Version:
AsciiDoctor renderer for web sites
39 lines (29 loc) • 796 B
HTML
<html>
<head>
<title>Miceroux.asciidoc sample</title>
</head>
<body>
<pre class="code asciidoc">
http://asciidoctor.org[*Asciidoctor*]
running on https://opalrb.com[_Opal_]
brings AsciiDoc to Node.js!
</pre>
<div class="code asciidoc">
= 文書名はレンダリングされない?
== 見出し2
=== 見出し3
==== 見出し4
===== 見出し5
====== 見出し6
</div>
<script type="application/javascript"
src="https://takamin.github.io/js/miceroux.min.js"></script>
<script type="application/javascript">
// Preview the AsciiDoc in PRE content.
Miceroux.asciidoc("pre.code.asciidoc");
// Replace the source elements with a created ellement
Miceroux.asciidoc("div.code.asciidoc", {replace: true});
</script>
</body>
</html>