From 09e858a7e219da7afdfa63024ce1110ffc686b81 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 12 Mar 2017 23:00:58 +0100 Subject: 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. --- static/paste.css | 1 + 1 file changed, 1 insertion(+) (limited to 'static') 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; } -- cgit v1.2.3