mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
Added link on several doc pages to the appropriate pygments page describing supported languages.
This commit is contained in:
parent
4acc1723a0
commit
41477d1576
@ -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'.
|
||||||
|
@ -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'.
|
||||||
|
@ -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" }} %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user