Skip to content

Commit 7b201e9

Browse files
README: Update formatting just a little bit :)
1 parent e85534f commit 7b201e9

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

README.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@
3333
"cell_type": "markdown",
3434
"metadata": {},
3535
"source": [
36-
"* [Embed](#Embed-node_modules/-in-Python-environments) `node_modules/` in Python environments\n",
37-
"* [Run](#Run-installed-Node.js-tools-from-Python) installed Node.js tools from Python"
36+
"* [**Embed**](#Embed-node_modules/-in-Python-environments)\n",
37+
" **`node_modules/` in Python environments**\n",
38+
"* [**Run**](#Run-installed-Node.js-tools-from-Python)\n",
39+
" **installed Node.js tools from Python**"
3840
]
3941
},
4042
{

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020

2121

2222

23-
* [Embed](#Embed-node_modules/-in-Python-environments) `node_modules/` in Python environments
24-
* [Run](#Run-installed-Node.js-tools-from-Python) installed Node.js tools from Python
23+
* [**Embed**](#Embed-node_modules/-in-Python-environments)
24+
**`node_modules/` in Python environments**
25+
* [**Run**](#Run-installed-Node.js-tools-from-Python)
26+
**installed Node.js tools from Python**
2527

2628

2729

@@ -44,7 +46,7 @@ And don't forget to install [Node.js](https://nodejs.org) ;)
4446

4547

4648
```python
47-
import nodely
49+
>>> import nodely
4850
```
4951

5052

@@ -92,7 +94,7 @@ Just install the Node.js package:
9294

9395

9496
```python
95-
nodely.install('coffee-script')
97+
>>> nodely.install('coffee-script')
9698
```
9799

98100

@@ -146,10 +148,10 @@ and give any `subprocess.Popen` options to it:
146148

147149

148150
```python
149-
from subprocess import PIPE
150-
151-
process = nodely.Popen('coffee', ['--version'], stdout=PIPE,
152-
universal_newlines=True)
151+
>>> from subprocess import PIPE
152+
>>>
153+
>>> process = nodely.Popen('coffee', ['--version'], stdout=PIPE,
154+
... universal_newlines=True)
153155
```
154156

155157

@@ -167,7 +169,7 @@ A more object-oriented approach is provided by:
167169

168170

169171
```python
170-
import nodely.bin
172+
>>> import nodely.bin
171173
```
172174

173175

@@ -178,7 +180,7 @@ and creates `nodely.bin.Command` instances:
178180

179181

180182
```python
181-
coffee = nodely.bin.coffee
183+
>>> coffee = nodely.bin.coffee
182184
```
183185

184186

0 commit comments

Comments
 (0)