/
index.html
124 lines (101 loc) · 4.3 KB
/
index.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>php-discount extension</title>
<style type="text/css">
body {
background-color: white;
font-family: "Helvetica,Arial,FreeSans";
color: black;
font-size: 1.1em;
}
#container {
margin: 2em 4em 2em 4em;
}
h1 { font-size: 3.8em; color: rgb(150,0,50); margin-bottom: 3px; }
h1 .small { font-size: 0.4em; }
h2 {
font-size: 1.5em;
color: rgb(150,0,50);
border-bottom: 1px dotted black;
}
h3 { text-align: center; color: rgb(150,0,100); }
a { color: rgb(200, 0, 50); }
.description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
.download { float: right; }
pre { background: rgb(210,210,210); padding: 15px;}
hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
.footer { text-align:right; padding-top:30px; font-style: italic; }
</style>
</head>
<body>
<div id="container">
<div class="download">
<a href="http://github.com/cataphract/php-discount/zipball/master">
<img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
<a href="http://github.com/cataphract/php-discount/tarball/master">
<img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
</div>
<h1>php-discount</h1>
<div class="description">
PHP extension that wraps the <a href="http://www.pell.portland.or.us/~orc/Code/discount/">discount Markdown library</a>.<br />
Compatible with PHP 5.2, 5.3 and trunk.
</div>
<h2>Documentation</h2>
<p>The documentation is <a href="doc/Discount/MarkdownDocument.html">available here.</a></p>
<h2>Download</h2>
<h3>Development version</h3>
<p>
You can download the <b>source code</b> of latest development version in either
<a href="http://github.com/cataphract/php-discount/zipball/master">zip</a> or
<a href="http://github.com/cataphract/php-discount/tarball/master">tar</a> formats.
</p>
<p>You can also clone the project with <a href="http://git-scm.com">Git</a>
by running:
<pre>$ git clone git://github.com/cataphract/php-discount</pre>
</p>
<h3>Releases</h3>
<p>Note: The <kbd>pecl</kbd> command indicated should be preceded, on the first time, by:
<pre>pecl channel-discover nebm.ist.utl.pt/phpchannel</pre>
</p>
<h4>0.1.0 (2011-01-08)</h4>
<ul>
<li><a href="http://nebm.ist.utl.pt/phpchannel/get/discount-0.1.0.tgz">Source tarball</a></li>
<li><a href="https://github.com/cataphract/php-discount/tree/ext-v0.1.0">Tag on github</a></li>
<li>PEAR installation: <pre>pecl install nebm/discount-0.1.0</pre></li>
<li>Windows x86/VC9/Release libraries:
<ul>
<li><a href="windows/php_discount-0.1.0-PHP_5_3-NO_ZTS-x86-vc9.zip">PHP 5.3, no ZTS (thread-safety)</a></li>
<li><a href="windows/php_discount-0.1.0-PHP_5_3-ZTS-x86-vc9.zip">PHP 5.3, ZTS (thread-safety)</a></li>
<li><a href="windows/php_discount-0.1.0-PHP_5_2-NO_ZTS-x86-vc9.zip">PHP 5.2, no ZTS (thread-safety)</a></li>
<li><a href="windows/php_discount-0.1.0-PHP_5_2-ZTS-x86-vc9.zip">PHP 5.2, ZTS (thread-safety)</a></li>
</ul>
</li>
</ul>
<h2>Installation</h2>
<p>Except for Windows, the procedure is to download and unpack the source code and,
in the directory to where the files were unpacked, run:
<pre>phpize && ./configure --with-php-config=/path/to/php-config && \
make && make test && sudo make install</pre>
</p>
<p>For release download and installation can be handled by <kbd>pecl</kbd> by executing the
giving commands.</p>
<p>The configuration file <kbd>php.ini</kbd> may have to be edited to load the extension.</p>
<h2>Bugs</h2>
<p>You can report your bug on the
<a href="https://github.com/cataphract/php-discount/issues">issue tracker</a> or by e-mail.</p>
<h2>Authors</h2>
<ul>
<li>Gustavo Lopes for the extension</li>
<li>David Parsons for the bundled discount library</li>
</ul>
<h2>Contact</h2>
<p>Gustavo Lopes (e-mail: cataphract php net)</p>
<div class="footer">
Last updated on 9 Jan 2011
</div>
</div>
</body>
</html>