当前位置: 首页 > news >正文

苏州哪家做网站惠州搜索引擎优化

苏州哪家做网站,惠州搜索引擎优化,阿里云个人网站备案做淘客,企业微信邮箱入口导读: 引言 syntaxhighlighter的目的是不依赖任何服务器端脚本即可在网页上插入着色后的代码目标客户主要是针对博客。不过,我看到了一些源码网站使用它作为其主要展示源代码的工具。 不适合客户syntaxhighlighter不是针对那种强调在线编辑高亮代码的客户…
导读:


引言

syntaxhighlighter的目的是不依赖任何服务器端脚本即可在网页上插入着色后的代码

目标客户

主要是针对博客。不过,我看到了一些源码网站使用它作为其主要展示源代码的工具。

不适合客户

syntaxhighlighter不是针对那种强调在线编辑高亮代码的客户设计的,它不会让您编辑源代码,它不能这样做也绝不会这样做。

性能

syntaxhighlighter使用正则表达式解析源码。它不是非常快,事实上,它的速度相当缓慢。如果您想尝试百十行代码,您将不会看到任何问题。如果要高亮超过10k的源码,由于JavaScript运行时间过长会导致程序中止

SyntaxHighlighter is here to help a developer/coder to post code snippets online with ease and have it look pretty. It's 100% Java Script based and it doesn't care what you have on your server.

Features  Summary of features.

SyntaxHighlighter features


  • 100% client side, no server dependency
  • Multiple languages support
  • Easy to use and deploy, just copy files and link them in your templates
  • Wide browser support
  • Very lightweight, compressed core library is 11kb plus whatever brushes you need.


Languages  List of supported languages.

Supported languagesHere's a list of supported languages and their aliases:









































Language Aliases
C++ cpp, c, c++
C# c#, c-sharp, csharp
CSS css
Delphi delphi, pascal
Java java
Java Script js, jscript, javascript
PHP php
Python py, python
Ruby rb, ruby, rails, ror
Sql sql
VB vb, vb.net
XML/HTML xml, html, xhtml, xslt




Usage  How to use SyntaxHighlighter.

UsagePlacing the codePlace your code on the page and surround it with

 tag. Set name attribute to code and class attribute to one of the language aliases you wish to use. 
... some code here ...
NOTE: One important thing to watch out for is opening triangular bracket <. It must be replaced with an HTML equivalent of < in all cases. Failure to do won't break the page, but might break the source code displayed.
An alternative to
 is to use Extended configurationThere's a way to pass a few configuration options to the code block. It's done via colon separated arguments. 
... some code here ...
Making it workFinally, to get the whole thing to render properly on the page, you have to add JavaScript to the page.
type="text/css" rel="stylesheet" href="css/SyntaxHighlighter.css"><script language="javascript" src="js/shCore.js"></script><script language="javascript" src="js/shBrushCSharp.js"></script><script language="javascript" src="js/shBrushXml.js"></script><script language="javascript">dp.SyntaxHighlighter.ClipboardSwf = '/flash/clipboard.swf';dp.SyntaxHighlighter.HighlightAll('code');</script>For optimal result, place this code at the very end of your page. Check HighlightAll for more details about the function.



下载




















 FilenameSummary + LabelsUploadedSizeDownloadCount...
SyntaxHighlighter_1.5.1.rar 1.5.1  Featured Aug 0539.3 KB22152


本文转自
http://www.mikecat.net/space/viewspacepost.aspx?postid=52

http://www.lbrq.cn/news/2579689.html

相关文章:

  • 临清网站制作公司输入关键词自动生成标题
  • 购物网站做推广什么叫外链
  • 沧州公司做网站企业推广是什么职业
  • 哪家小吃培训网站做的最好关键词搜索引擎工具爱站
  • 网络运营是干什么的网站推广优化外包便宜
  • 学网站论坛宁德市属于哪个省份
  • 网站建设使用的语言网络广告有哪些
  • 怎样做网站手机客户端淘宝流量网站
  • 做宣传单赚钱的网站专门做推广的公司
  • 动态网站开发的架构网易企业邮箱
  • ps做的网站保存不了jpgit学校培训学校哪个好
  • 建站行业突破网页界面设计
  • 三亚做网站seo手机关键词排行推广
  • 常州建站软件全球网站排名
  • b2c电子商城网站建设网站提交收录入口
  • 早期做的网站支持现在的网速吗百度推广系统营销平台
  • 那个网站做稻草交易网站域名查询网
  • 精通网站建设 百度云怎么做网页
  • 保定网站推广费用营销策略ppt模板
  • 如何免费做网站网页seo网络推广排名
  • 用tomcat做网站目录适合口碑营销的产品
  • 深圳建外贸网站蚂蚁bt
  • 图书馆网站开发策划书磁力搜索神器
  • 潍坊做网站张家口网络营销策划的方法
  • 崇明做网站公司公司在百度怎么推广
  • 品划做网站域名信息查询
  • php做心理测试网站电子技术培训机构
  • 百度优化 几个网站内容一样app下载推广平台
  • 网站做sem优化电脑培训网
  • 专做智能化施工的网站百度检索入口
  • 使用 Vuepress + GitHub Pages 搭建项目文档
  • 苍穹外卖项目学习——day1(项目概述、环境搭建)
  • 6. 平台总线
  • Redis面试精讲 Day 10:Redis数据结构底层实现原理
  • 能力显著性向量:验证损失与下游能力的缩放定律
  • Allegro降版本工具