added a few more things to test suite
This commit is contained in:
parent
3e1a15ac48
commit
d611923e89
|
@ -448,10 +448,33 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="test-pattern" class="imageblock">
|
<div id="test-pattern" class="imageblock">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<a class="image" href="git.venberg.xyz/Gabe/adocStaticSiteGen"><img src="../../images/test_patern.jpg" alt="Stand By"></a>
|
<a class="image" href="git.venberg.xyz/Gabe/adocStaticSiteGen"><img src="../../images/test_pattern.svg" alt="Stand By"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">Figure 1. Technical Difficulties</div>
|
<div class="title">Figure 1. Technical Difficulties</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="quoteblock">
|
||||||
|
<blockquote>
|
||||||
|
While the creative works from the 16th century can still be accessed and used by others, the data in some software programs from the 1990s is already inaccessible. Once a company that produces a certain product goes out of business, it has no simple way to uncover how its product encoded data. The code is thus lost, and the software is inaccessible. Knowledge has been destroyed.
|
||||||
|
</blockquote>
|
||||||
|
<div class="attribution">
|
||||||
|
— Lawrence Lessig<br>
|
||||||
|
<cite>May the Source Be With You</cite>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="verseblock">
|
||||||
|
<pre class="content">Three Rings for the Elven-kings under the sky,
|
||||||
|
Seven for the dwarf-lords in their halls of stone,
|
||||||
|
Nine for Mortal Men doomed to die,
|
||||||
|
One for the Dark Lord on his dark throne,
|
||||||
|
In the Land of Mordor where the Shadows lie.
|
||||||
|
One Ring to rule them all, One Ring to find them,
|
||||||
|
One Ring to bring them all and in the darkness bind them
|
||||||
|
In the Land of Mordor where the Shadows lie.</pre>
|
||||||
|
<div class="attribution">
|
||||||
|
— J.R.R. Tolkien<br>
|
||||||
|
<cite>The Fellowship of the Ring</cite>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p><a href="https://git.venberg.xyz/Gabe/adocStaticSiteGen" class="bare">https://git.venberg.xyz/Gabe/adocStaticSiteGen</a></p>
|
<p><a href="https://git.venberg.xyz/Gabe/adocStaticSiteGen" class="bare">https://git.venberg.xyz/Gabe/adocStaticSiteGen</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -449,7 +449,6 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
|
||||||
<div id="toctitle">Table of Contents</div>
|
<div id="toctitle">Table of Contents</div>
|
||||||
<ul class="sectlevel1">
|
<ul class="sectlevel1">
|
||||||
<li><a href="#_inline_formatting_tests">inline formatting tests</a></li>
|
<li><a href="#_inline_formatting_tests">inline formatting tests</a></li>
|
||||||
<li><a href="#_list_tests">list tests</a></li>
|
|
||||||
<li><a href="#_link_tests">link tests</a></li>
|
<li><a href="#_link_tests">link tests</a></li>
|
||||||
<li><a href="#_tables_test">tables test</a></li>
|
<li><a href="#_tables_test">tables test</a></li>
|
||||||
<li><a href="#_included_section">included section</a>
|
<li><a href="#_included_section">included section</a>
|
||||||
|
@ -527,11 +526,15 @@ Sed eleifend, enim vitae ultrices auctor, dolor ipsum molestie dui, id dignissim
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>→ ⇒ ← ⇐</p>
|
<p>→ ⇒ ← ⇐</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="paragraph">
|
||||||
|
<p>==colapsable block</p>
|
||||||
</div>
|
</div>
|
||||||
|
<details>
|
||||||
|
<summary class="title">Details</summary>
|
||||||
|
<div class="content">
|
||||||
|
<div class="paragraph">
|
||||||
|
<p>== list tests</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="sect1">
|
|
||||||
<h2 id="_list_tests">list tests</h2>
|
|
||||||
<div class="sectionbody">
|
|
||||||
<div class="ulist">
|
<div class="ulist">
|
||||||
<div class="title">unordered list test</div>
|
<div class="title">unordered list test</div>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -666,6 +669,17 @@ Sed eleifend, enim vitae ultrices auctor, dolor ipsum molestie dui, id dignissim
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
<div class="paragraph">
|
||||||
|
<div class="title">math test</div>
|
||||||
|
<p>\(\frac{\frac{1}{x}+\frac{1}{y}}{y-z}\)</p>
|
||||||
|
</div>
|
||||||
|
<div class="stemblock">
|
||||||
|
<div class="content">
|
||||||
|
\$[[a,b\],[c,d\]\]((n),(k))\$
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="hdlist">
|
<div class="hdlist">
|
||||||
<div class="title">description list test</div>
|
<div class="title">description list test</div>
|
||||||
<table>
|
<table>
|
||||||
|
@ -701,7 +715,7 @@ printers
|
||||||
<h2 id="_link_tests">link tests</h2>
|
<h2 id="_link_tests">link tests</h2>
|
||||||
<div class="sectionbody">
|
<div class="sectionbody">
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>Lets go back to the <a href="#_list_tests">list tests</a> or to the <a href="#_tables_test">tables</a></p>
|
<p>Lets go back to the <a href="#list tests">[list tests]</a> or to the <a href="#_tables_test">tables</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p><a href="https://git.venberg.xyz/Gabe/adocStaticSiteGen">gittea absolute link</a></p>
|
<p><a href="https://git.venberg.xyz/Gabe/adocStaticSiteGen">gittea absolute link</a></p>
|
||||||
|
@ -893,5 +907,29 @@ The style can be any one of the admonition labels:</p>
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script type="text/x-mathjax-config">
|
||||||
|
MathJax.Hub.Config({
|
||||||
|
messageStyle: "none",
|
||||||
|
tex2jax: {
|
||||||
|
inlineMath: [["\\(", "\\)"]],
|
||||||
|
displayMath: [["\\[", "\\]"]],
|
||||||
|
ignoreClass: "nostem|nolatexmath"
|
||||||
|
},
|
||||||
|
asciimath2jax: {
|
||||||
|
delimiters: [["\\$", "\\$"]],
|
||||||
|
ignoreClass: "nostem|noasciimath"
|
||||||
|
},
|
||||||
|
TeX: { equationNumbers: { autoNumber: "none" } }
|
||||||
|
})
|
||||||
|
MathJax.Hub.Register.StartupHook("AsciiMath Jax Ready", function () {
|
||||||
|
MathJax.InputJax.AsciiMath.postfilterHooks.Add(function (data, node) {
|
||||||
|
if ((node = data.script.parentNode) && (node = node.parentNode) && node.classList.contains("stemblock")) {
|
||||||
|
data.math.root.display = "block"
|
||||||
|
}
|
||||||
|
return data
|
||||||
|
})
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
2
tests/test.sh
Normal file
2
tests/test.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
rm -r result
|
||||||
|
../ASCIIsite.py --output result --exclude-file globignore test
|
|
@ -1,13 +1,26 @@
|
||||||
= relatively linked doc
|
= relatively linked doc
|
||||||
Gabe Venberg
|
Gabe Venberg
|
||||||
:imagesdir: ../../images/
|
:imagesdir: ../../images
|
||||||
:reproducible:
|
:reproducible:
|
||||||
:giturl: git.venberg.xyz/Gabe/adocStaticSiteGen
|
:giturl: git.venberg.xyz/Gabe/adocStaticSiteGen
|
||||||
|
|
||||||
[#test-pattern]
|
[#test-pattern]
|
||||||
.Technical Difficulties
|
.Technical Difficulties
|
||||||
[link={giturl}]
|
[link={giturl}]
|
||||||
image::test_patern.jpg[Stand By]
|
image::test_pattern.svg[Stand By]
|
||||||
|
|
||||||
|
[quote, Lawrence Lessig, May the Source Be With You]
|
||||||
|
While the creative works from the 16th century can still be accessed and used by others, the data in some software programs from the 1990s is already inaccessible. Once a company that produces a certain product goes out of business, it has no simple way to uncover how its product encoded data. The code is thus lost, and the software is inaccessible. Knowledge has been destroyed.
|
||||||
|
|
||||||
|
[verse, J.R.R. Tolkien, The Fellowship of the Ring]
|
||||||
|
Three Rings for the Elven-kings under the sky,
|
||||||
|
Seven for the dwarf-lords in their halls of stone,
|
||||||
|
Nine for Mortal Men doomed to die,
|
||||||
|
One for the Dark Lord on his dark throne,
|
||||||
|
In the Land of Mordor where the Shadows lie.
|
||||||
|
One Ring to rule them all, One Ring to find them,
|
||||||
|
One Ring to bring them all and in the darkness bind them
|
||||||
|
In the Land of Mordor where the Shadows lie.
|
||||||
|
|
||||||
https://git.venberg.xyz/Gabe/adocStaticSiteGen
|
https://git.venberg.xyz/Gabe/adocStaticSiteGen
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ Gabe Venberg
|
||||||
:giturl: https://git.venberg.xyz/Gabe/adocStaticSiteGen
|
:giturl: https://git.venberg.xyz/Gabe/adocStaticSiteGen
|
||||||
:toc:
|
:toc:
|
||||||
:icons: font
|
:icons: font
|
||||||
|
:stem: latexmath
|
||||||
:includedir: include/
|
:includedir: include/
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,6 +49,9 @@ _*italic bold test*_
|
||||||
|
|
||||||
-> => <- <=
|
-> => <- <=
|
||||||
|
|
||||||
|
==colapsable block
|
||||||
|
[%collapsible]
|
||||||
|
====
|
||||||
== list tests
|
== list tests
|
||||||
|
|
||||||
.unordered list test
|
.unordered list test
|
||||||
|
@ -85,6 +89,15 @@ _*italic bold test*_
|
||||||
** adipiscing
|
** adipiscing
|
||||||
** elit
|
** elit
|
||||||
|
|
||||||
|
====
|
||||||
|
|
||||||
|
.math test
|
||||||
|
stem:[\frac{\frac{1}{x}+\frac{1}{y}}{y-z}]
|
||||||
|
[asciimath]
|
||||||
|
++++
|
||||||
|
[[a,b\],[c,d\]\]((n),(k))
|
||||||
|
++++
|
||||||
|
|
||||||
.description list test
|
.description list test
|
||||||
[horizontal]
|
[horizontal]
|
||||||
test:: to make sure software works correctly
|
test:: to make sure software works correctly
|
||||||
|
|
Loading…
Reference in a new issue