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
When using single-backtick inline code elements, one is almost always writing the name of a variable or a command line invocation that should be treated as a single token and not split across multiple lines.
Here are some examples where adding white-space: nowrap; to rendered inline <code> elements greatly improves readability, reduces confusion, and simplifies copy & pasting:
Before:
After:
Before:
After:
The text was updated successfully, but these errors were encountered:
dmartin
changed the title
Inline <code> blocks should use white-space: nowrap styling
Inline <code> elements should use white-space: nowrap styling
Oct 12, 2021
Agreed, this is making my GitHub wiki hard to read at times. Using nowrap would greatly improve this! I tried messing around with <style> myself, but that is all ignored/sanitized by GitHub Markdown :-(
If anyone has a quick fix on how to solve this locally for GitHub wikis, please share :-)
When using single-backtick inline
code
elements, one is almost always writing the name of a variable or a command line invocation that should be treated as a single token and not split across multiple lines.Here are some examples where adding
white-space: nowrap;
to rendered inline<code>
elements greatly improves readability, reduces confusion, and simplifies copy & pasting:Before:
After:
Before:
After:
The text was updated successfully, but these errors were encountered: