Open neuromusic opened 2 years ago
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?
however if we want to be consistent with github, may need to investigate further how to support READMEs like this
Discussed in https://github.com/chanzuckerberg/napari-hub/discussions/378