enable table support in the markdown parser

This commit is contained in:
Brian S. Stephan 2020-04-05 10:25:46 -05:00
parent 576ffc359c
commit da2476bbda
2 changed files with 14 additions and 1 deletions

View File

@ -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'})

View File

@ -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;
}