forked from marijnh/Eloquent-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasciidoc_html.conf
More file actions
92 lines (75 loc) · 1.97 KB
/
asciidoc_html.conf
File metadata and controls
92 lines (75 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[miscellaneous]
newline=\n
[attributes]
disable-javascript=True
warnings=False
highlight=True
html_target=True
[macros]
(?su)(?<!\w)indexsee:\[(?P<attrlist>[^\]]*?)\]=indexsee
[source-highlight-block]
<pre{id? id="{id}"} data-language="{language}" class="cm-s-default">
|
</pre>
[listingblock]
<pre{id? id="{id}"}>
|
</pre>
[indexsee-inlinemacro]
{empty}
[header]
<!doctype html>
<head>
<meta charset="utf-8">
<title>{doctitle}</title>
<link rel=stylesheet href="js/node_modules/codemirror/lib/codemirror.css">
<script src="js/node_modules/codemirror/lib/codemirror.js"></script>
<script src="js/node_modules/codemirror/mode/javascript/javascript.js"></script>
<script src="js/node_modules/acorn/acorn.js"></script>
<script src="js/node_modules/acorn/util/walk.js"></script>
<link rel=stylesheet href="ejs.css">
<script src="js/sandbox.js"></script>
<script src="js/ejs.js"></script>
<script>{chap_num?var chapNum = {chap_num};}{load_file?var sandboxLoadFile = "js/code/{load_file}.js";}</script>
</head>
<article>
<nav>
{prev_link?<a href="{prev_link}.html" title="previous chapter">⬅</a>}
<a href="index.html" title="cover">⬆</a>
{next_link?<a href="{next_link}.html" title="next chapter">➡</a>}
</nav>
<h1>{chap_num?<div class=chap_num>Chapter {chap_num}</div>}{doctitle}</h1>
[footer]
<nav>
{prev_link?<a href="{prev_link}.html" title="previous chapter">⬅</a>}
<a href="index.html" title="cover">⬆</a>
{next_link?<a href="{next_link}.html" title="next chapter">➡</a>}
</nav>
</article>
[preamble]
|
[paragraph]
<p{id? id="{id}"}>
|
</p>
[literal-inlinemacro]
# Inline literal.
<code>{passtext}</code>
[sect1]
<h2{id? id="{id}"}>{title}</h2>
|
[sect2]
<h3{id? id="{id}"}>{title}</h3>
|
[sect3]
<h4{id? id="{id}"}>{title}</h4>
|
[quoteblock]
<blockquote>
|
{attribution? <footer>—<cite>{attribution}{citetitle?, {citetitle}}</footer>}
</blockquote>
[image-blockmacro]
<div class="image"{id? id="{id}"}>
<img src="{target}" alt="{alt={target}}">
</div>