[Slackbuilds-users] Suggestion: monospace font for README

Andrzej Telszewski atelszewski at gmail.com
Mon Nov 7 00:35:19 UTC 2016


On 07/11/16 01:35, Willy Sudiarto Raharjo wrote:
>>> 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/ ?
>

Works for me (SeaMonkey 2.40).

> The content of the README will be using <pre> and it looks different
> from the rest of the page (deps, maintainer, etc).
>
>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>


-- 
Best regards,
Andrzej Telszewski


More information about the SlackBuilds-users mailing list