[Slackbuilds-users] Suggestion: monospace font for README

Willy Sudiarto Raharjo willysr at slackbuilds.org
Mon Nov 7 00:35:13 UTC 2016


>> You could also just use some CSS and have browsers wrap the text. Seems
>> much easier than editing a ton of READMES...
>>
>> pre {
>> white-space: pre-wrap;       /* css-3 */
>> white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
>> white-space: -pre-wrap;      /* Opera 4-6 */
>> white-space: -o-pre-wrap;    /* Opera 7 */
>> word-wrap: break-word;       /* Internet Explorer 5.5+ */
>> }
>>
>> http://stackoverflow.com/questions/248011/how-do-i-wrap-text-in-a-pre-tag
>>
>> Any reasonably modern browser will not need a prefix, meaning you could
>> simplify the CSS to:
>>
>> pre {
>>   white-space: pre-wrap;}
>>
>>
>> https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#Browser_compatibility

I implemented this proposal (wrapping issue) just now
can anyone review the results in
https://slackbuilds.org/repository/14.2/multimedia/ExMplayer/ ?

The content of the README will be using <pre> and it looks different
from the rest of the page (deps, maintainer, etc).


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161107/796b5836/attachment.asc>


More information about the SlackBuilds-users mailing list