twitter.prettyprint: wrap tweet text

db4
Joe Groff 2010-06-27 14:16:41 -07:00
parent 044a862c37
commit 5966a65ade
1 changed files with 14 additions and 11 deletions

View File

@ -23,7 +23,8 @@ CONSTANT: tweet-username-style
CONSTANT: tweet-text-style
H{
{ font-name "sans-serif" }
{ font-size 18 }
{ font-size 16 }
{ wrap-margin 500 }
}
CONSTANT: tweet-metadata-style
@ -36,6 +37,7 @@ CONSTANT: tweet-metadata-style
[
[ dup user>> user-image [ image. ] when* ] with-cell
[
H{ { wrap-margin 600 } } [
tweet-text-style [
tweet-username-style [
dup user>> screen-name>> write
@ -48,6 +50,7 @@ CONSTANT: tweet-metadata-style
dup source>> write
] with-style
] with-style
] with-nesting
] with-cell
] with-row
] tabular-output nl