Hi Sonic, You`re clearly mixing things up a bit. I`m not very familiar with the Highlight Macro [1] but, as the name implies, it is a macro that is used at rendering time. That means that you go in edit more, you use the macro in the actual content of the page to wrap some code in it and then you go into view mode and see the code pretty printed with syntax highlighted and all. What the Syntax Highlighting Application [2] does is that, at *edit* time, it augments your editor so that syntax highlighting is done *while you are editing* the page. It is not for presentation purposes (like a macro is), but it is there to help you edit script codes inside pages (example: velocity scripts, JavaScript/CSS inside Style/JavaScript Extensions, etc). Once you save the page and go to view mode, the code you wrote usually executes and you see a result, but not (a pretty print of) the code itself. So the Syntax Highlighting Application is a tool to help you write XWiki applications (if you may), while the Highlight Macro is a container to help you display/present some code inside the content of a wiki page, but not to execute it. There is no issue of them running at the same time, because they do different things. Hope this helps, Eduard ---------- [1] http://extensions.xwiki.org/xwiki/bin/view/Extension/Highlight+Macro [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Syntax+Highlighting+App... On Mon, Feb 8, 2016 at 1:36 PM, Sonic <[email protected]> wrote:
Thanks. So, There is a Syntax Highlighting Application, Highlight JS Macro in my xwiki and its'not the same.
How to use Syntax Highlighting Application? Where can I see settings for Highlight JS Macro? This macro is not working(not highlighting code) for users without "Administrator" or "Programming" rights.
-- View this message in context: http://xwiki.475771.n2.nabble.com/What-will-happen-if-I-install-extension-wi... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users