dotnet / dotnet/EntityFramework.Docs
Figure out what to do with unwanted line breaks
- Dominant language
- Mermaid
- Stars
- 1.7k
- Forks
- 2k
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 16
Description
We have `` in various places to avoid getting arbitrary line breaks in the middle of command-line options, etc. However, [there's reason to believe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nobr) that this element shouldn't be used; the correct way to do this in HTML seems to be ``.
In theory, maybe it's a code idea for fenced fragments to implicity do this via CSS. Currently, fenced fragments render as `` in HTML, and I don't see any `nowrap` option in the CSS (but my web foo is lacking). @nschonni @smitpatel any input here, or is there someone who would know?
We could also manually insert the above `` everywhere, though that would uglify things.
Note: when this is done, remove all `` occurrences and also the current exemption in .markdownlint.json.
Contributor guide
Assessment
This issue has not been assessed yet.