Use nice condensed table with border

and alos clean the prettyMessage even without showdown
This commit is contained in:
rugk 2016-12-13 23:30:28 +01:00
parent f755a99ab8
commit 58bd603c7c
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D
7 changed files with 9 additions and 9 deletions

View file

@ -655,12 +655,12 @@ $(function() {
this.clearText.html(
converter.makeHtml(text)
);
// add table class from bootstrap css
this.clearText.find('table').addClass('table');
// add table classes from bootstrap css
this.clearText.find('table').addClass('table-condensed table-bordered');
this.clearText.removeClass('hidden');
this.prettyMessage.addClass('hidden');
}
this.prettyMessage.addClass('hidden');
break;
case 'syntaxhighlighting':
if (typeof prettyPrintOne === 'function')