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
For some gems on gem.sh the show page renders very weird and broken looking READMEs, we should look into what's causing it and see if there might be a more relaxed Markdown parser which can also better recover from a malformed markdown file.
It might also be that some of our styles are leaking into the rendered markdown content, maybe we need to better scope the selectors.
One such issue seems to be related to code blocks with a language specified. I was reviewing a simple gem I wrote and found the readme was looking in disarray.
For example, when the following codeblocks specifying ruby are encountered:
I believe the ActiveRecord example is currently suffering the same issue. Fixing the language detection for code blocks might go a long way to resolving the output.
For some gems on gem.sh the show page renders very weird and broken looking READMEs, we should look into what's causing it and see if there might be a more relaxed Markdown parser which can also better recover from a malformed markdown file.
It might also be that some of our styles are leaking into the rendered markdown content, maybe we need to better scope the selectors.
Example: https://gem.sh/gems/activerecord/v7.0.6
The text was updated successfully, but these errors were encountered: