-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexamples.html
More file actions
56 lines (41 loc) · 1.24 KB
/
examples.html
File metadata and controls
56 lines (41 loc) · 1.24 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
---
title: Examples
---
<!DOCTYPE HTML>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<head>
<title>ChaiScript - Examples.</title>
{% include common.html %}
</head>
<body>
{% include header.html %}
<div class="well well-sm">
<h3>Easy to follow complete examples.</h3>
<h4>Be sure to also check out the <a href="https://github.com/ChaiScript/ChaiScript/blob/develop/cheatsheet.md">cheatsheet</a>.</h4>
<br/>
For more examples, look at the unittests folder in <a href="https://github.com/ChaiScript/ChaiScript/tree/master/unittests">source control</a>. The unittests cover every feature of ChaiScript.
</div>
{% assign posts = site.tags.example | sort: 'id' %}
<div class="body-with-margin">
<div class="panel panel-default">
<div class="panel-body">
<ul>
{% for post in posts %}
<li>
<a href="#{{ post.title | replace: ' ', '_' }}">{{ post.title }}</a>
</li>
{{ post.excerpt }}
{% endfor %}
</ul>
</div>
</div>
{% for post in posts %}
<div class="panel panel-default">
<div class="panel-body">
<h2 id="{{ post.title | replace: ' ', '_' }}"> {{ post.title }} </h2>
{{ post.content}}
</div>
</div>
{% endfor %}
</div>
</body>