dart-archive / pub-dartlang

DEPRECATED - old pub.dartlang.org site in Python
https://github.com/dart-lang/pub-dartlang-dart
Other
43 stars 18 forks source link

Improve display of package code samples on pub.dartlang.org #208

Open DartBot opened 9 years ago

DartBot commented 9 years ago

From filip.hr...@gmail.com on December 17, 2013 14:55:48

This is just a minor improvement suggestion. Since pub.dartlang.com is the de facto homepage for many Dart packages, it would be great if the code samples there looked as well as possible. Currently, when comparing my little package's github homepage ( https://github.com/filiph/fuzzylogic ) with its pub.dartlang.org homepage ( http://pub.dartlang.org/packages/fuzzylogic ), the github rendering of the same README.md looks much better. I'm therefore a little more likely to link to github than to pub.

Here are the two suggestions:

Original issue: http://code.google.com/p/dart/issues/detail?id=15672

DartBot commented 9 years ago

From @floitschG on December 18, 2013 00:47:41

Status: Triaged
Labels: Area-Pub

DartBot commented 9 years ago

From @nex3 on December 18, 2013 12:23:36

Cc: amouravski@google.com
Labels: -Area-Pub Area-PubSite

srawlins commented 9 years ago

This is a tough one... by my count we manage to squeeze in 76 columns :(. We're already 1px smaller font-size than GitHub. Our main width is 620px; GitHub's is 790px I think. GitHub allows horizontal scrolling in a code block; we don't. Hrm...