Update checker sample
This commit is contained in:
parent
df1b721968
commit
cd5672abf0
3 changed files with 48 additions and 49 deletions
|
@ -6,5 +6,5 @@ register = template.Library()
|
|||
|
||||
|
||||
@register.filter
|
||||
def highlight(code, language):
|
||||
return highlight_code(code, language)
|
||||
def highlight(code, language, linenos=True):
|
||||
return highlight_code(code, language, linenos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue