"scripts": {
"test": "mocha",
"lint": "eslint"
- },
- "main": "index.js",
- "devDependencies": {
- "eslint": "^4.7.2",
- "mocha": "^3.5.3"
- },
- "license": "ISC"
}</code></pre>
</div>
</div>
+<div class="listingblock">
+<div class="title">Example paragraph syntax</div>
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-asciidoc hljs" data-lang="asciidoc">.Optional title
+[example]
+This is an #example paragraph#.</code></pre>
+</div>
+</div>
+<div class="exampleblock">
+<div class="title">Optional title</div>
+<div class="content">
+This is an example paragraph.
+</div>
+</div>
<div class="paragraph">
<p>How about some code?</p>
</div>
const buffer = require('vinyl-buffer')
const uglify = require('gulp-uglify')
const tap = require('gulp-tap') <i class="conum" data-value="1"></i><b>(1)</b>
-
-gulp.task('js', () =>
- gulp
- .src('js/vendor/*.js', { cwd: 'src', base: 'src', read: false })
- .pipe(
- tap((file) => {
- file.contents = browserify(file.relative, { basedir: 'src', detectGlobals: false }).bundle()
- })
- )
- .pipe(buffer())
- .pipe(uglify())
- .pipe(gulp.dest('build'))
-)</code></pre>
+</code></pre>
</div>
</div>
<div class="colist arabic">
<div class="paragraph">
<p>Select <span class="menuseq"><b class="menu">File</b> <i class="fa fa-angle-right caret"></i> <b class="menuitem">Open Project</b></span> to open the project in your IDE.
Per ea solet civibus inimicus.
-Ferri tacimates constituam sed ex, eu mea munere vituperata constituam.
-No vel quem admodum, etiam possim voluptatum sed ei.
-Voluptua singulis pro ei, melius constituto consequuntur eos in, ei ius blandit albucius.</p>
+Ferri tacimates constituam sed ex, eu mea munere vituperata constituam.</p>
</div>
</div>
</div>
-<div class="sect1">
-<h2 id="liber-recusabo"><a class="anchor" href="#liber-recusabo"></a>Liber recusabo</h2>
+<div class="sect2">
+<h3 id="liber-recusabo"><a class="anchor" href="#liber-recusabo"></a>Liber recusabo</h3>
<div class="sectionbody">
<div class="paragraph">
<p>No sea, at invenire voluptaria mnesarchum has.
<li>
<p>lacus volutpat semper porttitor aliquet ornare primis nulla enim</p>
</li>
-<li>
-<p>ultricies sociosqu tristique integer</p>
-</li>
-<li>
-<p>posuere curae pharetra rutrum adipiscing lectus est praesent</p>
-</li>
</ol>
</div>
<div class="paragraph">
<td class="tableblock halign-left valign-top"><p class="tableblock">jscs</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">^2.3.5</p></td>
</tr>
-<tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">jscs-preset-gulp</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">^1.0.0</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">mississippi</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">^1.2.0</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">mocha</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">^2.4.5</p></td>
-</tr>
</tbody>
</table>
<div class="paragraph">
</tr>
</table>
</div>
-<div class="admonitionblock caution">
-<table>
-<tr>
-<td class="icon">
-<i class="fa icon-caution" title="Caution"></i>
-</td>
-<td class="content">
-I wouldn’t try that either.
-</td>
-</tr>
-</table>
-</div>
<div class="admonitionblock important">
<table>
<tr>
<div class="paragraph">
<p>If you installed the CLI and the default site generator globally, you can upgrade both of them with the same command.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>$ npm i -g @antora/cli @antora/site-generator-default</pre>
+<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ npm i -g @antora/cli @antora/site-generator-default</code></pre>
</div>
</div>
</td>
</div>
<div class="paragraph">
<p>Nominavi luptatum eos, an vim hinc philosophia intellegebat.
-Lorem expetenda pertinacia et nec, wisi illud sonet qui ea.
-Eum an doctus maiestatis efficiantur.
Eu mea inani iriure.</p>
</div>
+<div class="sect1">
<h2 id="voluptua-singulis" class="discrete">Voluptua singulis</h2>
<div class="paragraph">
<p>Cum dicat putant ne.
font-size: 0.9rem;
/* color: #000; */
line-height: 1.5;
+ margin: 0;
}
.doc pre:not(.highlight),
padding: 0.75em 1em;
}
-.doc .admonitionblock td.content > div[class] {
+.doc .admonitionblock td.content > :first-child {
margin: 0;
}
.doc .literalblock .title,
.doc .listingblock .title {
color: #4a4a4a;
- padding-bottom: 0.15rem;
- font-size: 0.85rem;
+ padding-bottom: 0.08rem;
+ font-size: 0.92rem;
+ font-style: italic;
+}
+
+.doc .admonitionblock .title + .paragraph {
+ margin-top: 0;
+}
+
+/* Other possible colors #248232 (dark green) #2ba84a (brighter green), #f7ef99 (soft yellow), #f78e69 (orangey-grayish) */
+.doc .exampleblock > .content {
+ background-color: #fff;
+ box-shadow: inset 0 0 2px #2ba84a;
+ padding: 0.75rem;
}
/* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */