updated README and updated /demo

This commit is contained in:
arnaucode
2017-11-06 20:47:45 +01:00
parent e669faa982
commit c03f70ad6c
10 changed files with 65 additions and 3 deletions

10
demo/README.md Normal file
View File

@@ -0,0 +1,10 @@
# kunigu - DEMO
in this folder there are two demos:
- .txt demo
- .html demo
The .txt demo is just a file that includes another.
The .html demo is the file index.html that has references to the .md files, and to the html_header.html and html_bottom.html. kunigu gets the references and includes the referenced files inside the indexOUT.html. The markdown content is converted to HTML.

View File

@@ -3,10 +3,10 @@
3
4
5
{{kunigu demo/b.txt}}
{{kunigu @demo/b.txt}}
6
7
8
{{kunigu demo/b.txt}}
{{kunigu @demo/b.txt}}
9
10

9
demo/card1.md Normal file
View File

@@ -0,0 +1,9 @@
## Hi, this is the card1
This card contains this content.
Maybe we can try to do a list:
- Here is the first element
- Here the second
- Oh just the third
- etc

5
demo/card2.md Normal file
View File

@@ -0,0 +1,5 @@
## Hi, this is the card2
This card contains this content.
bla bla bla

2
demo/html_bottom.html Normal file
View File

@@ -0,0 +1,2 @@
</body>
</html>

3
demo/html_header.html Normal file
View File

@@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<body>

10
demo/index.html Normal file
View File

@@ -0,0 +1,10 @@
{{kunigu @demo/html_header.html}}
<div class="row">
<div class="card">
{{kunigu @demo/card1.md @--md-to-html}}
</div>
<div class="card">
{{kunigu @demo/card2.md @--md-to-html}}
</div>
</div>
{{kunigu @demo/html_bottom.html}}

23
demo/indexOUT.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<body>
<div class="row">
<div class="card">
<h2>Hi, this is the card1</h2>
<p>This card contains this content.
Maybe we can try to do a list:</p>
<ul>
<li>Here is the first element</li>
<li>Here the second</li>
<li>Oh just the third</li>
<li>etc</li>
</ul>
</div>
<div class="card">
<h2>Hi, this is the card2</h2>
<p>This card contains this content.</p>
<p>bla bla bla</p>
</div>
</div>
</body>
</html>