以下是我下载的文件夹和所需文件的链接。不确定我是否遗漏了某些东西......
<!--BEGIN SYNTAX HIGHLIGHTER-->
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shCore.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/styles/shCore.css" type="text/css" />
<!---->
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushAS3.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushCss.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushJScript.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushPhp.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushSql.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushXml.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/scripts/shBrushPlain.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/includes/syntaxhighlighter/styles/shThemeDjango.css" type="text/css" />
我真的希望这个工作,如果有任何其他建议Joomla语法高亮?如果可能的话,真是五彩缤纷。
答案 0 :(得分:0)
您是否包含lang
属性?
即
<pre lang="html">
your html
</pre>