Skip to content

Commit

Permalink
Fix syntax highlight in some files
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaiacs committed Nov 16, 2017
1 parent 19b2590 commit 1cff381
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _episodes/04-formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ which is rendered as:
for thing in collection:
do_something
~~~
{: .python}
{: .language-python}

The class specified at the bottom using an opening curly brace and colon,
the class identifier with a leading dot,
Expand Down
2 changes: 2 additions & 0 deletions _episodes/06-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ For example, "to delete the cell press <kbd>D</kbd>" should be write as
~~~
to delete the cell press <kbd>D</kbd>
~~~
{: .html}

The table below covers most of the keyboard key labels.

Expand Down Expand Up @@ -79,5 +80,6 @@ For example, "press <kbd>Ctrl</kbd>+<kbd>X</kbd> to quit nano" should be write a
~~~
press <kbd>Ctrl</kbd>+<kbd>X</kbd> to quit nano.
~~~
{: .html}

{% include links.md %}
12 changes: 6 additions & 6 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ new lesson is `data-cleanup`.
~~~
$ git clone -b gh-pages https://github.com/timtomch/data-cleanup.git
~~~
{: .bash}
{: .language-bash}
Note that the URL for your lesson will have your username and chosen repository name.
Expand All @@ -64,7 +64,7 @@ new lesson is `data-cleanup`.
~~~
$ cd data-cleanup
~~~
{: .bash}
{: .language-bash}
Note that the name of your directory should be what you named your lesson
on the example this is `data-cleanup`.
Expand All @@ -75,7 +75,7 @@ new lesson is `data-cleanup`.
~~~
$ git remote add template https://github.com/swcarpentry/styles.git
~~~
{: .bash}
{: .language-bash}
This will allow you to pull in changes made to the template,
such as improvements to our CSS style files.
Expand All @@ -87,7 +87,7 @@ new lesson is `data-cleanup`.
~~~
$ git checkout gh-pages
~~~
{: .bash}
{: .language-bash}
This will ensure that you are using the most "stable" version of the
template repository. Since it's being actively maintained by the
Expand All @@ -107,7 +107,7 @@ new lesson is `data-cleanup`.
~~~
$ make serve
~~~
{: .bash}
{: .language-bash}
14. Commit your changes *and the HTML pages in the root directory of
your lesson repository* and push to the `gh-pages` branch of your
Expand All @@ -119,7 +119,7 @@ new lesson is `data-cleanup`.
$ git commit -m "Explanatory message"
$ git push origin gh-pages
~~~
{: .bash}
{: .language-bash}
15. [Tell us][contact] where your lesson is so that we can add it to
the appropriate index page(s).
Expand Down

0 comments on commit 1cff381

Please sign in to comment.