Added link on several doc pages to the appropriate pygments page describing supported languages.

This commit is contained in:
Parker Moore 2012-12-20 14:51:47 -05:00
parent 4acc1723a0
commit 41477d1576
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Simply start a line with three back ticks followed by a space and the language y
``` ```
### Basic options ### Basic options
- `[language]` - Used by the syntax highlighter. Passing 'plain' disables highlighting. - `[language]` - Used by the syntax highlighter. Passing 'plain' disables highlighting. ([Supported languages](http://pygments.org/docs/lexers/).)
- `[title]` - Add a figcaption to your code block. - `[title]` - Add a figcaption to your code block.
- `[url]` - Download or reference link for your code. - `[url]` - Download or reference link for your code.
- `[Link text]` - Text for the link, defaults to 'link'. - `[Link text]` - Text for the link, defaults to 'link'.

View File

@ -16,7 +16,7 @@ With this plugin you can write blocks of code directly in your posts and optiona
### Basic options ### Basic options
- `[lang:language]` - Choose a language for the syntax highlighter. Passing 'plain' disables highlighting. - `[lang:language]` - Choose a language for the syntax highlighter. Passing 'plain' disables highlighting. ([Supported languages](http://pygments.org/docs/lexers/).)
- `[title]` - Add a figcaption to your code block. - `[title]` - Add a figcaption to your code block.
- `[url]` - Download or reference link for your code. - `[url]` - Download or reference link for your code.
- `[link text]` - Text for the link, defaults to 'link'. - `[link text]` - Text for the link, defaults to 'link'.

View File

@ -19,7 +19,7 @@ readers and search engines, while still using Github's javascript gist embed cod
{% gist 4321346 %} {% gist 4321346 %}
If you want syntax highlighting, specify the filename (with extension): If you want syntax highlighting (for a [supported language](http://pygments.org/docs/lexers/)), specify the filename (with extension):
{{ "{% gist 4321346 gistfile1.diff" }} %} {{ "{% gist 4321346 gistfile1.diff" }} %}