Click here to Skip to main content

Article Writing

 
QuestionNot able to add Java code while writing Article PinmemberKaurKhushboo14-Jan-13 2:25 
Hi All,
 
I am trying to write an Article on Android Mobile Application. While I am writing the code, e.g.
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.LoaderManager;
To hightlight this code section, I selected 'Formatted' and then selected 'Java' as the language. When I preview this web page, the above code is shown as follows:
 
<span class="Apple-tab-span" style="white-space: pre;"> </span>import android.support.v4.app.FragmentActivity;
<span class="Apple-tab-span" style="white-space: pre;"> </span>import android.support.v4.app.LoaderManager;
 
HTML content is also added along with the Java code!
How can I correctly hightlight the code section in my article?
AnswerRe: Not able to add Java code while writing Article PinstaffSean Ewington14-Jan-13 4:18 
GeneralRe: Not able to add Java code while writing Article PinmemberKaurKhushboo14-Jan-13 21:29 
GeneralRe: Not able to add Java code while writing Article PinadminChris Maunder15-Jan-13 18:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid