mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
Make markdown tables horizontally scrollable by default
This commit is contained in:
parent
6124519acf
commit
bc6aef13e7
@ -62,8 +62,8 @@ class AwesomeRenderer(MathRenderer, mistune.Renderer):
|
||||
|
||||
def table(self, header, body):
|
||||
return (
|
||||
'<table class="table">\n<thead>%s</thead>\n'
|
||||
'<tbody>\n%s</tbody>\n</table>\n'
|
||||
'<div class="h-scrollable-table">\n<table class="table">\n<thead>%s</thead>\n'
|
||||
'<tbody>\n%s</tbody>\n</table>\n</div>\n'
|
||||
) % (header, body)
|
||||
|
||||
def link(self, link, title, text):
|
||||
|
Loading…
Reference in New Issue
Block a user