I would like to display the following
$ env/bin/python
>>>import requests
>>> requests.get('http://dabapps.com')
<Response [200]>
as a code sample within a bullet paragraph for Github styled markdown. How do I do it?
I would like to display the following
$ env/bin/python
>>>import requests
>>> requests.get('http://dabapps.com')
<Response [200]>
as a code sample within a bullet paragraph for Github styled markdown. How do I do it?
Legend:
The syntax format I found to work and implement in Remarkable:
1. 1st Bullet point:
----
----1xTab$ env/bin/pip install requests
----
----1st Bullet point paragraph
----
----1xTab$ env/bin/python
----1xTab>>>import requests
----1xTab>>> requests.get('http://dabapps.com')
----1xTab<Response [200]>
----
2. 2nd Bullet point:
Result:
1st Bullet point:
$ env/bin/pip install requests
1st Bullet point paragraph
$ env/bin/python
>>>import requests
>>> requests.get('http://dabapps.com')
<Response [200]>
2nd Bullet point:
You could also do this using a fenced code block:
* Bullet list item 1
* Bullet list item 2
```
$ env/bin/python
>>>import requests
>>> requests.get('http://dabapps.com')
<Response [200]>
```
* Bullet list item 3
See below for markdown preview in Atom:
And here it is in Remarkable: