Closed GoogleCodeExporter closed 9 years ago
grammr at http://docs.python.org/ref/grammar.txt
Original comment by mikesamuel@gmail.com
on 23 Apr 2008 at 5:58
@r38
Original comment by mikesamuel@gmail.com
on 5 Jul 2008 at 4:04
This appears to be considered fixed, but I just started using it and find that
it's confused by single quotes (') inside of pythons triple-quoted doctrings.
For example:
def testFunc():
'''
This is the function's docstring.
'''
return 1+2
Original comment by scottWil...@gmail.com
on 23 Nov 2010 at 11:43
http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html#py
thon_lang seems to work.
Are you specifying that the content language is python?
<pre class="prettyprint lang-py">
def testFunc():
'''
This is the function's docstring.
'''
return 1+2
</pre>
Original comment by mikesamuel@gmail.com
on 1 Dec 2010 at 4:39
Not sure if there was a recent regression, but the following code block does
not work with the current SVN trunk files:
<pre class="prettyprint"><code class="language-python">
import this
""" This is a standard Python triple quoted string
And all " found inside it are still part of
the string and should not be prettified as something else
"""
</code></pre>
Original comment by jerry.ga...@idilia.com
on 30 Sep 2011 at 8:59
OK, found it. "lang-py" instead of "lang-python". Sorry for the noise.
Original comment by jerry.ga...@idilia.com
on 30 Sep 2011 at 9:06
No problem. As a rule of thumb, I try to make sure that lang-<file-extension>
works instead of requiring everyone to come up with their own
file-name-extension->language-name map.
Original comment by mikesamuel@gmail.com
on 3 Oct 2011 at 6:26
Original issue reported on code.google.com by
jrobb...@gmail.com
on 3 Feb 2008 at 7:22