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
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
23
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 February, 2011 at 12:07:19, and generated by the magic of Gitdown from README.txt.
24
+
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 20:11:14, and generated by the magic of Gitdown from README.txt.
13
25
14
-
This is version 2010.10.11 of Gitdown. Changelog:
26
+
This is version 2011.03.24 of Gitdown. Changelog:
15
27
28
+
* 2010.03.24: added .pull command to include chunks from other files.
16
29
* 2010.10.11: don't do symbol substitution in code blocks.
17
30
* 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.
37
45
38
-
<Aname="toc2-45"title="Installation and Use" />
46
+
<Aname="toc2-46"title="Installation and Use" />
39
47
Installation and Use
40
48
--------------------
41
49
@@ -60,7 +68,7 @@ To use Gitdown, edit a text document much like this README.txt. Then:
60
68
61
69
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).
@@ -92,6 +138,7 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
92
138
.set name=value Sets Gitdown symbol
93
139
.sub oldval=newval Replaces oldval by newval in every line
94
140
.toc [top] Insert table of contents
141
+
.pull srcfile@tag[,opts] Pull a chunk of text from sourcefile
95
142
.end Everything past this is ignored
96
143
97
144
$\(xxx) Value of variable, anywhere in text
@@ -124,6 +171,8 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
124
171
125
172
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.
126
173
174
+
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.
175
+
127
176
These symbols have special meaning:
128
177
129
178
* GIT defines the root HTTP URL of the git repository.
@@ -136,7 +185,7 @@ These symbols are predefined by gitdown for you:
136
185
* SELF specifies the input file name without extension.
Copy file name to clipboardExpand all lines: README.txt
+5-1
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,9 @@ Gitdown is a simple tool for writing documentation hosted on a github repository
21
21
22
22
Gitdown is written and maintained by Pieter Hintjens. Please use the issue [tracker][] for all comments and errata. This document was published on &date("dddd mmmm, yyyy") at &time(), and generated by the magic of Gitdown from $(INPUT).
23
23
24
-
This is version 2010.10.11 of Gitdown. Changelog:
24
+
This is version 2011.03.24 of Gitdown. Changelog:
25
25
26
+
* 2010.03.24: added .pull command to include chunks from other files.
26
27
* 2010.10.11: don't do symbol substitution in code blocks.
27
28
* 2010.10.09: added .toc token to generate table of contents.
28
29
@@ -129,6 +130,7 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
129
130
.set name=value Sets Gitdown symbol
130
131
.sub oldval=newval Replaces oldval by newval in every line
131
132
.toc [top] Insert table of contents
133
+
.pull srcfile@tag[,opts] Pull a chunk of text from sourcefile
132
134
.end Everything past this is ignored
133
135
134
136
$\(xxx) Value of variable, anywhere in text
@@ -161,6 +163,8 @@ Gitdown is a pre-processor that adds these syntax elements on top of Markdown:
161
163
162
164
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.
163
165
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
+
164
168
These symbols have special meaning:
165
169
166
170
* GIT defines the root HTTP URL of the git repository.
0 commit comments