Merge pull request #660 from simonista/fix-github-links

Fix for embedding code from github
This commit is contained in:
bootstraponline
2013-03-19 17:25:36 -07:00
3 changed files with 21 additions and 19 deletions
+2 -2
View File
@@ -369,9 +369,9 @@ As an extra feature, you can syntax highlight a file from your repository, allow
you keep some of your sample code in the main repository. The code-snippet is
updated when the wiki is rebuilt. You include github code like this:
```html:gollum/gollum/master/test/file_view/1_file.txt```
```html:github:gollum/gollum/master/test/file_view/1_file.txt```
This will make the builder look at the **github user**, in the **gollum project**,
This will make the builder look at the **gollum user**, in the **gollum project**,
in the **master branch**, at path **test/file_view/1_file.txt**. It will be
rewritten to: