Skip to content

Commit

Permalink
change highlight theme
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamz-22 committed Apr 4, 2019
1 parent e71ca09 commit 0910aec
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,5 @@ venv.bak/
.mypy_cache/

**/yindex.html

**/.idea
6 changes: 4 additions & 2 deletions example/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 13 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
]

.right-column[
```
```Java
private static class GracefulShutdown implements
TomcatConnectorCustomizer,
ApplicationListener<ContextClosedEvent> {
Expand Down Expand Up @@ -472,28 +472,33 @@
name: zen
# [The Zen of Python](https://www.python.org/dev/peps/pep-0020/#id3)
---
name: zen-values
class: middle

A collection of 19 "guiding principles" that influence the design of the Python programming language.


```python
> python3 -m this
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
`Beautiful is better than ugly.`
`Explicit is better than implicit.`
`Simple is better than complex.`
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
`Readability counts.``
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
`Errors should never pass silently.`
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
`If the implementation is hard to explain, it's a bad idea.`
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
```
Expand All @@ -514,7 +519,7 @@
<script>
var slideshow = remark.create({
highlightLanguage: 'python',
highlightStyle: 'darcula',
highlightStyle: 'dracula',
highlightLines: true,
highlightSpans: true
});
Expand Down

0 comments on commit 0910aec

Please sign in to comment.