##// END OF EJS Templates
implements #657 added table rendering support for markdown
marcink -
r3019:e85380f0 beta
parent child Browse files
Show More
@@ -98,7 +98,7 b' class MarkupRenderer(object):'
98 source = safe_unicode(source)
98 source = safe_unicode(source)
99 try:
99 try:
100 import markdown as __markdown
100 import markdown as __markdown
101 return __markdown.markdown(source, ['codehilite'])
101 return __markdown.markdown(source, ['codehilite', 'tables'])
102 except ImportError:
102 except ImportError:
103 log.warning('Install markdown to use this function')
103 log.warning('Install markdown to use this function')
104 return cls.plain(source)
104 return cls.plain(source)
@@ -4092,6 +4092,14 b' div.readme .readme_box pre {'
4092 border-radius: 3px;
4092 border-radius: 3px;
4093 }
4093 }
4094
4094
4095 div.readme .readme_box table {
4096 display: table;
4097 border-collapse: separate;
4098 border-spacing: 2px;
4099 border-color: gray;
4100 width: auto !important;
4101 }
4102
4095
4103
4096 /** RST STYLE **/
4104 /** RST STYLE **/
4097
4105
General Comments 0
You need to be logged in to leave comments. Login now