Skip to content

Commit e416d34

Browse files
committed
hint python to syntax highlighting
1 parent 2ec2921 commit e416d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ interfacing with your system's $EDITOR.
44
Examples
55
--------
66

7-
```
7+
```python
88
import editor
99
commit_msg = editor.edit(contents="# Enter commit message here")
1010
```
1111
Opens an editor, prefilled with the contents, "# Enter commit messdage here".
1212
When the editor is closed, returns the contents in variable `commit_msg`.
1313

1414

15-
```
15+
```python
1616
import editor
1717
editor.edit(file="README.txt")
1818
```

0 commit comments

Comments
 (0)