I have a phone number in my markdown that tends to break above the end of the line. In HTML, I could wrap it with a <nobr> tag so that it is stored together. What is the right way to do this in markdowns?
<nobr>
Apparently, I did not understand that you can just embed html in markdowns.
<nobr>[1-111-111-1111](tel:11111111)</nobr>
works great
You can use the non-overlapping hyphen character ( ‑ )
‑
1‑111‑111‑1111
for
1-111-111-1111
Or you may need a phone number format with spaces between them, then use the space character without a space (   )
 
1 111 111 1111
1 111 111 1111
The "nobr" tag is non-standard HTML, and although it is supported by browsers for legacy purposes, the correct way is to handle it with CSS.
CSS equivalent:
.nobr { white-space:nowrap; }
Source: https://habr.com/ru/post/987428/More articles:Transpose a data table using reshape2: dcast - rR: Alias command invoked using system () - bashAm I abusing statics? - javaHow to insert data into a specific column without NULL in other columns? - sqlWhat does “Anonymous VM" mean in distribution media? - iosHow to connect / remap an arbitrary keyboard event on OSX? - hookHow do I do the gradle build task to generate the shadow can _instead_ of the “regular” jar? - javaMake SHIFT + 3 produce `#` not `` on OSX by code - keyboardHow are golang projects packaged for deployment? - goHow to print / display / draw MultiPolygon GeoJSON on elevator map - javascriptAll Articles