Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
If it possible to format code inline the sentence,
bind
for example without new line?

What I have tried:

I've tried to format it manually with editor funcionality
Posted
Updated 6-Jun-17 8:07am
Comments
Kornfeld Eliyahu Peter 6-Jun-17 13:58pm    
Obviously not... I tried to add style="dispay: inline !important", but it got removed upon save...
Richard MacCutchan 6-Jun-17 15:24pm    
Yes, use the <code> tags which will make the word bind look like bind inline in your sentence.

1 solution

Not using the Code widget, no.
But you can using the var widget instead:
The sentence var is without a newline.

You can cheat it:
<span style="background-color:#fbedbb">Code</span>
Is how I did the word in the first sentence.However, whenever you engage the syntax highlighter with the Code widget or <pre> tags, it forms a block, and that always ends with a new line.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900