enable table support in the markdown parser
This commit is contained in:
parent
576ffc359c
commit
da2476bbda
@ -10,7 +10,7 @@ from tzlocal import get_localzone
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
bp = Blueprint('pages', __name__, url_prefix='/')
|
||||
md = markdown.Markdown(extensions=['meta'])
|
||||
md = markdown.Markdown(extensions=['meta', 'tables'])
|
||||
|
||||
|
||||
@bp.route('/', defaults={'path': 'index'})
|
||||
|
@ -64,3 +64,16 @@ footer {
|
||||
color: #999;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
padding: 5px;
|
||||
border: 1px solid #222;
|
||||
}
|
||||
|
||||
th {
|
||||
background: #eee;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user