dyndoc-ruby 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/share/demo/first.dyn +71 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb254e9ad92b5568c919766480b545b9a6e19054
|
4
|
+
data.tar.gz: 12d3d9a40d28a5ab9e4195a8b578697fd6dc4be4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 189698d34c271c9e3e3e74cf3cbaf191362faca8b8e7b79dd6903bca7b616323ceb6dfa77d39a31142b0bcbadebbe8792231859547bce22b597aabc35c3165c7
|
7
|
+
data.tar.gz: edb7b9b614e731a5a9de5de318ca0b075705f23fb1d9e16dd6565f145b4af18d491779fd13fa5fbe088c0c713a11b34e442c4c367cb217a55087f2b40b228741
|
data/share/demo/first.dyn
CHANGED
@@ -36,3 +36,74 @@ for(i in 1:5) {
|
|
36
36
|
|
37
37
|
|
38
38
|
[#>]{#img]plot(rnorm(10))[#}
|
39
|
+
|
40
|
+
|
41
|
+
[#adoc>]
|
42
|
+
== First Section
|
43
|
+
|
44
|
+
IMPORTANT: When upgrading to Asciidoctor 1.5.0, please refer to the {uri-migration}[migration guide] for details about how to migrate your content.
|
45
|
+
|
46
|
+
|
47
|
+
[source,ruby]
|
48
|
+
----
|
49
|
+
require 'sinatra' // <1>
|
50
|
+
|
51
|
+
get '/hi' do // <2>
|
52
|
+
"Hello World!" // <3>
|
53
|
+
end
|
54
|
+
----
|
55
|
+
<1> Library import
|
56
|
+
<2> URL mapping
|
57
|
+
<3> Content for response
|
58
|
+
|
59
|
+
image::http://asciidoctor.org/images/octocat.jpg[GitHub mascot]
|
60
|
+
|
61
|
+
* Every list item has at least one paragraph of content,
|
62
|
+
which may be wrapped, even using a hanging indent.
|
63
|
+
+
|
64
|
+
Additional paragraphs or blocks are adjoined by putting
|
65
|
+
a list continuation on a line adjacent to both blocks.
|
66
|
+
+
|
67
|
+
list continuation:: a plus sign (`{plus}`) on a line by itself
|
68
|
+
|
69
|
+
* A literal paragraph does not require a list continuation.
|
70
|
+
|
71
|
+
$ gem install asciidoctor
|
72
|
+
|
73
|
+
* AsciiDoc lists may contain any complex content.
|
74
|
+
+
|
75
|
+
[cols="2", options="header"]
|
76
|
+
||===
|
77
|
+
||Application
|
78
|
+
||Language
|
79
|
+
|
80
|
+
||AsciiDoc
|
81
|
+
||Python
|
82
|
+
|
83
|
+
||Asciidoctor
|
84
|
+
||Ruby
|
85
|
+
||===
|
86
|
+
|
87
|
+
- [*] checked
|
88
|
+
- [x] also checked
|
89
|
+
- [ ] not checked
|
90
|
+
- normal list item
|
91
|
+
|
92
|
+
. level 1
|
93
|
+
.. level 2
|
94
|
+
... level 3
|
95
|
+
.... level 4
|
96
|
+
..... level 5
|
97
|
+
. level 1
|
98
|
+
|
99
|
+
[cols="2", options="header"]
|
100
|
+
||===
|
101
|
+
||Application
|
102
|
+
||Language
|
103
|
+
|
104
|
+
||AsciiDoc
|
105
|
+
||Python
|
106
|
+
|
107
|
+
||Asciidoctor
|
108
|
+
||Ruby
|
109
|
+
||===
|