summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSelwin Ong <selwin.ong@gmail.com>2019-01-23 19:10:16 +0700
committerSelwin Ong <selwin.ong@gmail.com>2019-01-23 19:10:16 +0700
commit7d6cccb65409d6de5ac910f861e87d1a812fdfd9 (patch)
tree7d754ba4881a18855cf3e9de89a02dc8aef876a5 /docs
parent7a6abb4738cc056a073d7d501fffba30ac0f3ec9 (diff)
downloadrq-7d6cccb65409d6de5ac910f861e87d1a812fdfd9.tar.gz
Try out an alternate way to indicate code blocks in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/exceptions.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/docs/exceptions.md b/docs/docs/exceptions.md
index f0d217d..2c855d4 100644
--- a/docs/docs/exceptions.md
+++ b/docs/docs/exceptions.md
@@ -42,12 +42,11 @@ def my_handler(job, exc_type, exc_value, traceback):
You might also see the three exception arguments encoded as:
-{% highlight python %}
+```python
def my_handler(job, *exc_info):
# do custom things here
...
-{% endhighlight %}
-
+```
## Chaining exception handlers