forked from puzzle/prawn-markup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
showcase.html
107 lines (102 loc) · 2.38 KB
/
showcase.html
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<h1>Prawn Markup Showcase</h1>
<h2>Text features</h2>
<div>
<p>paragraphs are nicely separated from each other.</p>
<p></p>
<p>Margin is or will be customizable at some point.</p>
</div>
<p><br /></p>
<p>
<strong>Strong</strong> or <em>emphasized</em> formatting as well as
<a href="http://github.com/puzzle/prawn-markup">links</a> are supported.
</p>
<hr />
and horizontal lines!
<h2>Table features</h2>
<p>Also tables are nice:</p>
<div>
<table>
<tr>
<th style="width: 1cm;">No</th>
<th>Description</th>
<th style="width: 25%;">State</th>
</tr>
<tr>
<td>1</td>
<td>Headers and custom widths are supported</td>
<td>Done</td>
</tr>
<tr>
<td>2</td>
<td>
<table>
<tr>
<td>subtables</td>
<td>so</td>
</tr>
<tr>
<td>very</td>
<td>crazy</td>
</tr>
</table>
</td>
<td>Done</td>
</tr>
<tr>
<td>3</td>
<td>
Even lists
<ol>
<li>one</li>
<li>two</li>
</ol>
</td>
<td>Check</td>
</tr>
<tr>
<td>4</td>
<td>
and Images:
<img
src="https://github.com/puzzle/prawn-markup/blob/master/spec/fixtures/logo.png?raw=true"
style="width: 50px;"
/>
</td>
<td>Yieha</td>
</tr>
</table>
This table has text underneath
</div>
<h2>List features</h2>
<h3>Unordered</h3>
Here may be text, too
<ul>
<li>
Lorem ipsum doler sit amet. Lorem ipsum doler sit amet. Lorem ipsum doler
sit amet. Lorem ipsum doler sit amet. Lorem ipsum doler sit amet. Lorem
ipsum doler sit amet.
</li>
<li>anything</li>
</ul>
<h3>Ordered</h3>
<ol>
<li>
Lorem ipsum doler sit amet. Lorem ipsum doler sit amet. Lorem ipsum doler
sit amet. Lorem ipsum doler sit amet. Lorem ipsum doler sit amet. Lorem
ipsum doler sit amet.
</li>
<li>anything</li>
</ol>
<h2>Inputs</h2>
<p><input type="checkbox" checked="checked" /> Checkboxes</p>
<p>
<input type="checkbox" /> Radios - <input type="radio" /> BBC
<input type="radio" checked /> RaBe <input type="radio" /> Vatikan
</p>
<h2>So far</h2>
<img
src="https://github.com/puzzle/prawn-markup/blob/master/spec/fixtures/logo.png?raw=true"
style="width: 100%;"
/>
<p>and thanks for all the fish</p>
<iframe src="http://codez.ch"></iframe>