You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by haesleinhuepf January 4, 2022
Hi all,
I just noticed that napari hub plugin pages deal with line breaks (between badges) differently compared to github. The layout does not look good on the hub:
This is a bug b/c the markdown spec indicates that line breaks in the source should not translate into line breaks in the HTML:
A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines. (A blank line is any line that looks like a blank line — a line containing nothing but spaces or tabs is considered blank.) Normal paragraphs should not be indented with spaces or tabs.
The implication of the “one or more consecutive lines of text” rule is that Markdown supports “hard-wrapped” text paragraphs. This differs significantly from most other text-to-HTML formatters (including Movable Type’s “Convert Line Breaks” option) which translate every line break character in a paragraph into a tag.
after a dive with @liaprins-czi@kne42 & @codemonkey800, there's something else going on here... there are other plugins that use line breaks that aren't having this problem.
need to investigate the README more closely... maybe there are trailing white space? or carriage returns?
Discussed in #378
Originally posted by haesleinhuepf January 4, 2022
Hi all,
I just noticed that napari hub plugin pages deal with line breaks (between badges) differently compared to github. The layout does not look good on the hub:
https://www.napari-hub.org/plugins/napari-skimage-regionprops
https://github.com/haesleinhuepf/napari-skimage-regionprops
Also line breaks within markdown text shows on the hub like this:
and on github like that:
Is this something we plugin developers should deal with or can this be fixed on hub side?
Thanks!
Best,
Robert
The text was updated successfully, but these errors were encountered: