I'm trying to write a regex, ^ call X *([(&]|$)
, into a README.md but it gets split at the end of a sentence:
some text ... ^ call X
*([(&]|$)
I think it's probably understandable that there is a space between X
and *
but it would still be better to display it continuously. Is it possible? It tried
but it seems not to be working in inline mode.
HTML Non-Breaking Space ( ) The simplest way to add a space in HTML (besides hitting the spacebar) is with the non-breaking space entity, written as or  .
The character entity is used to denote a non-breaking space which is a fixed space. This may be perceived as twice the space of a normal space. It is used to create a space in a line that cannot be broken by word wrap.
(it should have a semi-colon on the end) is an entity for a non-breaking space. Use it between two words that should not have a line break inserted between them by word wrapping. There is a good explanation about when this is appropriate grammar on the English StackExchange.
In word processing and digital typesetting, a non-breaking space, , also called NBSP, required space, hard space, or fixed space (though it is not of fixed width), is a space character that prevents an automatic line break at its position.
What Are Nonbreaking Spaces? Nonbreaking spaces are special characters that keep words or individual characters from separating at line breaks. Nonbreaking spaces are particularly useful between ellipsis points. However, you can use them between any words or characters that you want to stay together.
You must use HTML for this:
<code>^ call X *([(&]|$)</code>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With