Changeset - e85380f05a5e
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2012-11-23 13:27:34
marcin@python-works.com
implements #657 added table rendering support for markdown
2 files changed with 9 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/markup_renderer.py
Show inline comments
 
@@ -98,7 +98,7 @@ class MarkupRenderer(object):
 
        source = safe_unicode(source)
 
        try:
 
            import markdown as __markdown
 
            return __markdown.markdown(source, ['codehilite'])
 
            return __markdown.markdown(source, ['codehilite', 'tables'])
 
        except ImportError:
 
            log.warning('Install markdown to use this function')
 
            return cls.plain(source)
rhodecode/public/css/style.css
Show inline comments
 
@@ -4092,6 +4092,14 @@ div.readme .readme_box pre {
 
	border-radius: 3px;
 
}
 
 
div.readme .readme_box table {
 
    display: table;
 
	border-collapse: separate;
 
	border-spacing: 2px;
 
	border-color: gray;
 
	width: auto !important;
 
}
 
 
 
/** RST STYLE **/
 
0 comments (0 inline, 0 general)