Показать сообщение отдельно
Старый 16.01.2008, 15:00   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
axcoder: Syntax highlighting of X++ code in your blog or site
Источник: http://axcoder.blogspot.com/2008/01/...e-in-your.html
==============

1. Download highlight.js archive
2. Unpack archive and place it on your site
3. Аdd the following lines at start your html

<SPAN class="tag"></SPAN class="keyword"script/SPAN>
<SPAN class="tag">
initHighlightingOnLoad('axapta');
</SPAN class="keyword"script/SPAN>

(or, add html/javascript block with that content in the blogger.com template editor. If you use blogger, you should replace path to the script with full path to site where you uploaded the script like "http://belugin.info/highlight.js")


4. Include attach the sample.css stylesheet to your page or add it's contents to the "style" tag of your blogger template

5. Post your code snippets like this:

<SPAN class="tag"><SPAN class="tag">
// your code here
</SPAN class="keyword"code/SPAN></SPAN class="keyword"pre/SPAN>

Источник: http://axcoder.blogspot.com/2008/01/...e-in-your.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.