• R/O
  • SSH

SOM-Delphi-Wiki: Commit

Markdown wiki backup


Commit MetaInfo

Revision4b3898ab14a23032728d57ce97dca989e7d4fa4e (tree)
Zeit2014-11-05 02:33:23
AutorOCTAGRAM <octagram@blue...>
CommiterOCTAGRAM

Log Message

Creating default page

Ändern Zusammenfassung

Diff

diff -r 000000000000 -r 4b3898ab14a2 Home.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Home.md Tue Nov 04 17:33:23 2014 +0000
@@ -0,0 +1,42 @@
1+# Welcome
2+
3+Welcome to your wiki! This is the default page we've installed for your convenience. Go ahead and edit it.
4+
5+## Wiki features
6+
7+This wiki uses the [Markdown](http://daringfireball.net/projects/markdown/) syntax.
8+
9+The wiki itself is actually a mercurial repository, which means you can clone it, edit it locally/offline, add images or any other file type, and push it back to us. It will be live immediately.
10+
11+Go ahead and try:
12+
13+```
14+$ hg clone https://OCTAGRAM@bitbucket.org/OCTAGRAM/som-delphi/wiki
15+```
16+
17+Wiki pages are normal files, with the .md extension. You can edit them locally, as well as creating new ones.
18+
19+## Syntax highlighting
20+
21+
22+You can also highlight snippets of text (we use the excellent [Pygments][] library).
23+
24+[Pygments]: http://pygments.org/
25+
26+
27+Here's an example of some Python code:
28+
29+```
30+#!python
31+
32+def wiki_rocks(text):
33+ formatter = lambda t: "funky"+t
34+ return formatter(text)
35+```
36+
37+
38+You can check out the source of this page to see how that's done, and make sure to bookmark [the vast library of Pygment lexers][lexers], we accept the 'short name' or the 'mimetype' of anything in there.
39+[lexers]: http://pygments.org/docs/lexers/
40+
41+
42+Have fun!
Show on old repository browser