我在技术博客中使用Joomla 2.5。在我的文章中,我使用预先安装的代码高亮(GeSHi)插件添加了一些代码片段。 所以,我在下面的方式插入一个代码片段: 我打开我的HTML模式编辑器,我把它里面的下面的代码: <pre xml:java="" lines="true">/**
* The HelloWorldApp class implements an application that
我在Joomla 3.8.1中使用Geshi代码荧光笔,但它不起作用。 我已经启用了“内容 - 脚本代码高亮(GeSHi)”和“按钮 - 脚本代码高亮(GeSHi)”,事实上,当我编辑文章时出现按钮。 当我添加的内容,例如, <pre xml:lang="csharp">[code]
using System;
using System.Collections.Generic;
using
我使用这个代码来突出我的“的Lua”代码: SyntaxHighlighter.brushes.Lua = function()
{
var keywords = 'break do end else elseif function if local nil not or repeat return and then until while this';
var funcs = 'math\