[Assorted-commits] SF.net SVN: assorted:[1855] personal-site/trunk/README
Brought to you by:
yangzhang
From: <yan...@us...> - 2013-04-22 04:11:06
|
Revision: 1855 http://sourceforge.net/p/assorted/svn/1855 Author: yangzhang Date: 2013-04-22 04:11:03 +0000 (Mon, 22 Apr 2013) Log Message: ----------- Update WordPress styling instructions Modified Paths: -------------- personal-site/trunk/README Modified: personal-site/trunk/README =================================================================== --- personal-site/trunk/README 2013-04-14 05:56:48 UTC (rev 1854) +++ personal-site/trunk/README 2013-04-22 04:11:03 UTC (rev 1855) @@ -71,9 +71,36 @@ [mysqld] default-storage-engine=innodb -In WP, make sure twentyeleven's style.css has the pandoc syntax highlighting -CSS. +In WP, make sure `twentytwelve-child/style.css` has the pandoc syntax +highlighting CSS: + /* + Theme Name: Twentytwelve Child + Description: Child theme for the twentytwelve theme + Author: Yang Zhang + Template: twentytwelve + */ + + @import url("../twentytwelve/style.css"); + + table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre + { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } + td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } + td.sourceCode { padding-left: 5px; } + pre.sourceCode span.kw { color: #007020; font-weight: bold; } + pre.sourceCode span.dt { color: #902000; } + pre.sourceCode span.dv { color: #40a070; } + pre.sourceCode span.bn { color: #40a070; } + pre.sourceCode span.fl { color: #40a070; } + pre.sourceCode span.ch { color: #4070a0; } + pre.sourceCode span.st { color: #4070a0; } + pre.sourceCode span.co { color: #60a0b0; font-style: italic; } + pre.sourceCode span.ot { color: #007020; } + pre.sourceCode span.al { color: red; font-weight: bold; } + pre.sourceCode span.fu { color: #06287e; } + pre.sourceCode span.re { } + pre.sourceCode span.er { color: red; font-weight: bold; } + Also edit easyfilter.php, adding this line before `return $filtered;`: $filtered = $filtered . '<p><em><a href="http://twitter.com/yaaang">Follow me on Twitter</a> for stuff far more interesting than what I blog.</em></p>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |