To use:
[[!pquote text="This is the text of the pull quote"]]
font-style: normal;\r
font-weight: bold;\r
}\r
font-style: normal;\r
font-weight: bold;\r
}\r
+\r
+/* =============================================\r
+ Pull Quotes (pquote)\r
+================================================ */\r
+\r
+.pquote {\r
+ float: right;\r
+ width: 8em;\r
+ background: url(pquote.gif) top left no-repeat;\r
+ color: #030;\r
+ font-size: 2em;\r
+ line-height: 0.9;\r
+ font-style: italic;\r
+ padding: 0.5em;\r
+ margin: 0;\r
+}\r
+\r
+.pquote p:first-letter {\r
+ font-size: 1.5em;\r
+ font-weight: bold;\r
+}\r
input_encoding: "iso-8859-1"
output_encoding: "iso-8859-1"
plugins: [
input_encoding: "iso-8859-1"
output_encoding: "iso-8859-1"
plugins: [
"skeleton",
"hierarchy",
"link",
"skeleton",
"hierarchy",
"link",
--- /dev/null
+# -*- coding: iso-8859-1 -*-
+from webber import *
+
+@set_macro("pquote")
+def pquote_macro(params):
+ if cfg.test_verbose:
+ print "in macro skeleton.pull_quote_macro, params:", params
+ return "<blockquote class=\"pquote\"><p>" + params['text'] + "</p></blockquote>"