Update CODING_STYLE.md
This commit is contained in:
parent
b31fa905d6
commit
c982f7bf80
1 changed files with 4 additions and 13 deletions
|
|
@ -58,19 +58,9 @@ are useful in the game ...
|
||||||
"""
|
"""
|
||||||
```
|
```
|
||||||
|
|
||||||
Code examples should use the `\`\`\`python` marker to mark
|
Code examples should use [multi-line syntax highlighting][markdown-hilight] to mark
|
||||||
multi-line code blocks, such as
|
multi-line code blocks, using the "python" identifier. Just indenting
|
||||||
|
code blocks (common in markdown) will not produce the desired look.
|
||||||
```
|
|
||||||
\`\`\`python
|
|
||||||
|
|
||||||
code here
|
|
||||||
|
|
||||||
\`\`\`
|
|
||||||
```
|
|
||||||
|
|
||||||
Just indenting will not produce the code desired.
|
|
||||||
|
|
||||||
|
|
||||||
### Class docstrings
|
### Class docstrings
|
||||||
|
|
||||||
|
|
@ -159,3 +149,4 @@ or in the chat.
|
||||||
[pep8tool]: https://pypi.python.org/pypi/pep8
|
[pep8tool]: https://pypi.python.org/pypi/pep8
|
||||||
[googlestyle]: http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Comments#Comments
|
[googlestyle]: http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Comments#Comments
|
||||||
[githubmarkdown]: https://help.github.com/articles/github-flavored-markdown/
|
[githubmarkdown]: https://help.github.com/articles/github-flavored-markdown/
|
||||||
|
[markdown-hilight]: https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue