[Haskell-cafe] hackage style
Gershom B
gershomb at gmail.com
Wed Apr 11 07:15:45 UTC 2018
I took a look and the smaller font doesn’t help enough anyway. But note
that it is a “different style” regardless in that it is in a <pre> block to
preserve provided formatting (with regards to whitespace, etc).
i think the simplest thing is to give it a “pre-wrap” whitespace style
which keeps the whitespace rather than collapsing, but allows lines to
wrap. Things get a little ragged, but they fit without scrolling…
In general we can’t assume arbitrary text files will convert nicely to
markdown.
—g
On April 11, 2018 at 3:13:12 AM, Alexey Raga (alexey.raga at gmail.com) wrote:
World treating text tiles as markdowns (or even converting them to
markdowns) be an option?
I really don't like the idea of small/different font sizes...
Regards,
Alexey
On Wed, Apr 11, 2018 at 4:06 PM Gershom B <gershomb at gmail.com> wrote:
> The problem with that particular README is that it is a text file. Nearly
> all the readme files these days are in markdown, which wraps. For text
> files, we do something very basic and render in a <pre> block, which does
> not wrap.
>
> To improve display of such readme files I see three options. A) use a
> smaller font only for pre blocks, so that more text fits, without
> rewrapping. B) allow text files to rewrap. C) force the content _only_ for
> such files to always be below a clear, and as such, below the entire
> properties table. I’m leaning towards A here at the moment. Thoughts?
>
> -g
>
> On April 10, 2018 at 6:56:47 PM, Ben Franksen (ben.franksen at online.de)
> wrote:
>
> The new hackage style has nice colors but severe problems w.r.t.
> readability. The right column with the package meta data causes the
> Readme text to be cut off. This make it almost impossible to read it. I
> attached a screenshot for illustration.
>
> Cheers
> Ben
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180411/7b0eccfd/attachment.html>
More information about the Haskell-Cafe
mailing list