]> Devi Nivas Git - chevron.git/commitdiff
Added syntax highlighting for python code
authorNoah Morrison <noah@morrison.ph>
Thu, 27 Nov 2014 21:46:18 +0000 (16:46 -0500)
committerNoah Morrison <noah@morrison.ph>
Thu, 27 Nov 2014 21:46:18 +0000 (16:46 -0500)
README.md

index 222f6c212454d774d06c35d23b2098f5305263d7..cb373758a7a03a1984e573cfd5a440373c9c8581 100644 (file)
--- a/README.md
+++ b/README.md
@@ -38,14 +38,14 @@ $ chevron [data file] [template file]
 ```
 
 Python usage with strings
-```
+```python
 import chevron
 
 chevron.render('Hello, {{ mustache }}!', {'mustache': 'World'})
 ```
 
 Python usage with file
-```
+```python
 import chevron
 
 with open('file.mustache', 'r') as f:
@@ -53,7 +53,7 @@ with open('file.mustache', 'r') as f:
 ```
 
 Python usage with unpacking
-```
+```python
 import chevron
 
 args = {
@@ -68,7 +68,7 @@ chevron.render(**args)
 ```
 
 chevron supports partials (via dictionaries)
-```
+```python
 import chevron
 
 args = {
@@ -83,7 +83,7 @@ chevron.render(**args)
 ```
 
 chevron supports partials (via the filesystem)
-```
+```python
 import chevron
 
 args = {