summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2017-03-12 23:00:58 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2017-03-12 23:00:58 +0100
commit09e858a7e219da7afdfa63024ce1110ffc686b81 (patch)
tree6c097d0eeb276ad8f1f111f92958e43d42b89167 /static
parent67049cf50145d179652bd678269e9f6251643e00 (diff)
Added support for rendering markdown.
If a syntax name starts with 'Rendered ' (lazy fix, we'll come up with something better later) the paste will now be handled by the corresponding renderer. For now we only support markdown, but this can easily be extended to support other renderers as well.
Diffstat (limited to 'static')
-rw-r--r--static/paste.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/paste.css b/static/paste.css
index 36df2f2..7bd00c8 100644
--- a/static/paste.css
+++ b/static/paste.css
@@ -11,6 +11,7 @@ div#info { font-size: small; color: #bbb; }
span#nick, span#date, span#syntax-type { color: #888; }
div#alt-links { font-size: small; }
div#alt-links a { color: #44f; }
+div.paste-rendered { background-color: #fff; }
.highlighttable { width: 100%; padding-top: 1em; }
.highlighttable td.code { width: 100%; background-color: #fff; }
.highlighttable td { vertical-align: top; }