From 7d6cccb65409d6de5ac910f861e87d1a812fdfd9 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Wed, 23 Jan 2019 19:10:16 +0700 Subject: [PATCH] Try out an alternate way to indicate code blocks in docs --- docs/docs/exceptions.md | 5 ++--- 1 file 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