Hi All,
I'm a new maintainer of the python-gapminder lesson.
Quick question - When I look at a pull request, specifically the markdown file
with diffs (files changed), and click the "view" button on the upper right, I
get a sort-of rendered markdown file but some of the markdown remains raw -
specifically python code and output. Is there another button in github to view
what the proposed change will look like after final rendering with Jekyl?
Should I go to the proposer's github.io site to see the rendered file?
Regards and thanks,
Nathan
For example, the raw source file:
---
## Use the built-in function `type` to find the type of a value.
* Use the built-in function `type` to find out what type a value has.
* Works on variables as well.
* But remember: the *value* has the type --- the *variable* is just a
label.
~~~
print(type(52))
~~~
{: .python}
~~~
<class 'int'>
~~~
{: .output}
~~~
fitness = 'average'
print(type(fitness))
~~~
{: .python}
~~~
<class 'str'>
~~~
{: .output}
----
Renders via the view button as
---
Use the built-in function type to find the type of a value.
Use the built-in function type to find out what type a value has.
Works on variables as well.
But remember: the value has the type --- the variable is just a label.
print(type(52))
{: .python}
<class 'int'>
{: .output}
fitness = 'average'
print(type(fitness))
{: .python}
<class 'str'>
{: .output}
----
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/listinfo/discuss