无法在Arcticle中添加代码 [英] Not able to add the code in Arcticle

查看:126
本文介绍了无法在Arcticle中添加代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在尝试在Android移动应用上写一篇文章。当我编写代码时,例如

import android.support.v4.app.FragmentActivity;

import android.support.v4.app.LoaderManager;

然后为了突出显示此代码部分,我选择Formatted,然后选择Java作为语言。当我预览这个网页时,上面的代码显示如下:





折叠|复制代码
< span class = Apple-tab-span style = white-space:pre; > < / span > import android.support.v4.app.FragmentActivity;
< span < span class =code-attribute> class = Apple-tab-span style = white-space:pre; > < / span > import android.support.v4.app.LoaderManager;





HTML内容也随Java代码一起添加!

如何才能正确地高亮显示文章中的代码部分?

解决方案

不要在快速回答下发布 - 你需要与管理员交谈。试试这里问: http://www.codeproject.com/Forums/1641/Article-Writing.aspx [ ^ ] - 肖恩读到那里的每一个帖子,应该能够看到文章并帮助你。



在这里发帖依赖于他们匆匆而过并意识到这是为了他们。 / BLOCKQUOTE>

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;
Then to hightlight this code section, I select Formatted and then select Java as the language. When I preview this web page, the above code is shown as follows:


Collapse | Copy Code
<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?

解决方案

Don''t post this under Quick Answers - you need to talk to the admins. Try asking here: http://www.codeproject.com/Forums/1641/Article-Writing.aspx[^] - Sean reads every post there, and should be able to see the article and help you.

Posting this here relies on them "dropping by" and realising it is for them.


这篇关于无法在Arcticle中添加代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆