You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-14
Original file line number
Diff line number
Diff line change
@@ -9,25 +9,26 @@ Welcome To Gitdown
9
9
10
10
Gitdown is a simple tool for writing documentation hosted on a github repository. It uses [ditaa][] to convert ascii diagrams into images, and produces [markdown][] documents that can be uploaded to your repository along with code. I made Gitdown so that we could write technical white papers and user guides as plain text (including diagrams) and publish them with a single "git push" command. Gitdown is a simpler version of the tool we use to maintain the [ØMQ][zeromq][Guide][zguide].
11
11
12
-
Gitdown is written and maintained by Pieter Hintjens. Please use the issue [tracker][] for all comments and errata. This document was published on Thursday March, 2011 at 22:41:04, and generated by the magic of Gitdown from README.txt.
12
+
Gitdown is written and maintained by Pieter Hintjens. Please use the issue [tracker][] for all comments and errata. This document was published on Tuesday February, 2013 at 16:43:34, and generated by the magic of Gitdown from README.txt.
13
13
14
14
This is version 2011.03.24 of Gitdown. Changelog:
15
15
16
+
* 2013.02.05: Gyepi Sam changed pull command to make chunk specification optional.
16
17
* 2010.03.24: added .pull command to include chunks from other files.
17
18
* 2010.10.11: don't do symbol substitution in code blocks.
18
19
* 2010.10.09: added .toc token to generate table of contents.
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
38
39
39
-
<Aname="toc2-46"title="Installation and Use" />
40
+
<Aname="toc2-47"title="Installation and Use" />
40
41
Installation and Use
41
42
--------------------
42
43
@@ -61,7 +62,7 @@ To use Gitdown, edit a text document much like this README.txt. Then:
61
62
62
63
The images directory holds images for all documents in the current directory. You can write documents anywhere on the git tree but if they are not at the root you must tell Gitdown how to create a full image path by setting the SUBDIR symbol (see below).
@@ -93,7 +94,7 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
93
94
.set name=value Sets Gitdown symbol
94
95
.sub oldval=newval Replaces oldval by newval in every line
95
96
.toc [top] Insert table of contents
96
-
.pull srcfile@tag[,opts] Pull a chunk of textfrom sourcefile
97
+
.pull srcfile[@tag][,opts] Pull a chunk of text, or the whole file, from srcfile
97
98
.end Everything past this is ignored
98
99
99
100
$\(xxx) Value of variable, anywhere in text
@@ -126,7 +127,13 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
126
127
127
128
The top argument for .toc tells it the top header level in the text. Lower levels are shown horizontally. E.g. this file has level 2 headers in the text and uses `.toc 1` to get these laid-out on a single row.
128
129
129
-
The opts argument for .pull can be: 'code' to indicate the results should be indented 4 spaces. An opts of 'left' removes any left margin. A chunk of text is identified by '@tag' anywhere in the line before the chunk, and any other tag signalling the end. '@end' can be used to close any chunk. Tag names must be alphanumeric.
130
+
If the .pull command includes an optional @tag, the named chunk of text is pulled from the source file.
131
+
A chunk of text is identified by '@tag' anywhere in the line before the chunk, and any other tag signalling the end. '@end' can be used to close any chunk. Tag names must be alphanumeric.
132
+
If @tag is omitted, the entire file is included.
133
+
134
+
The opts argument for .pull can be: 'code' to indicate the results should be indented 4 spaces.
135
+
An opts of 'left' removes any left margin.
136
+
130
137
131
138
These symbols have special meaning:
132
139
@@ -140,7 +147,7 @@ These symbols are predefined by gitdown for you:
140
147
* SELF specifies the input file name without extension.
Copy file name to clipboardExpand all lines: README.txt
+9-2
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ Gitdown is written and maintained by Pieter Hintjens. Please use the issue [tra
23
23
24
24
This is version 2011.03.24 of Gitdown. Changelog:
25
25
26
+
* 2013.02.05: Gyepi Sam changed pull command to make chunk specification optional.
26
27
* 2010.03.24: added .pull command to include chunks from other files.
27
28
* 2010.10.11: don't do symbol substitution in code blocks.
28
29
* 2010.10.09: added .toc token to generate table of contents.
@@ -130,7 +131,7 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
130
131
.set name=value Sets Gitdown symbol
131
132
.sub oldval=newval Replaces oldval by newval in every line
132
133
.toc [top] Insert table of contents
133
-
.pull srcfile@tag[,opts] Pull a chunk of textfrom sourcefile
134
+
.pull srcfile[@tag][,opts] Pull a chunk of text, or the whole file, from srcfile
134
135
.end Everything past this is ignored
135
136
136
137
$\(xxx) Value of variable, anywhere in text
@@ -163,7 +164,13 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
163
164
164
165
The top argument for .toc tells it the top header level in the text. Lower levels are shown horizontally. E.g. this file has level 2 headers in the text and uses `.toc 1` to get these laid-out on a single row.
165
166
166
-
The opts argument for .pull can be: 'code' to indicate the results should be indented 4 spaces. An opts of 'left' removes any left margin. A chunk of text is identified by '@tag' anywhere in the line before the chunk, and any other tag signalling the end. '@end' can be used to close any chunk. Tag names must be alphanumeric.
167
+
If the .pull command includes an optional @tag, the named chunk of text is pulled from the source file.
168
+
A chunk of text is identified by '@tag' anywhere in the line before the chunk, and any other tag signalling the end. '@end' can be used to close any chunk. Tag names must be alphanumeric.
169
+
If @tag is omitted, the entire file is included.
170
+
171
+
The opts argument for .pull can be: 'code' to indicate the results should be indented 4 spaces.
0 commit comments