I made some years ago a template tutorial. There were three areas on a webpage:
Preview / with evtl. comments
template box
stylesheet box
I last two boxes I inserted the highlighted code from some editor which exported the files automatically as html files.
Now I don't remember the editor nor can I find any similar editor online.
Does someone of you use such one?
Insert/Show highlighted code on a webpage
Insert/Show highlighted code on a webpage
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Insert/Show highlighted code on a webpage
The code of your tutorial looks like it comes from ExportHtml. Classes like "code_page" "code_text" "code_gutter" "code_line" "real_text" are the same.
I don't.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Insert/Show highlighted code on a webpage
Actually, I have found polugins for SublimeText3, but installing it, setting etc. is really a necbreaking task. Anyway, it works. There is also the Notepad++ for Windows, but again, working simultaneously both on Windows and MAC is not the most comfortable way. But having the code (e.g. in a tutorial page) highlighted requires CSS. So simple copy/paste can't work. The simples way is the SublimeText3 editor, so far.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Insert/Show highlighted code on a webpage
Consider using Syntaxhighlighter_XH.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Insert/Show highlighted code on a webpage
I have this plugin. But the reason of using the code exported from an editor is to make a step-by-step tutorial (similar to codepen). It means, that in 4 containers will be shown how the template is built, simultanouely the stylesheet, how the functions are inserted and evtl. scripts. Will look, if this can be achieved by Sintaxhighlighter.
EDIT:
Couldn't do a testing. Installation not completed.
EDIT:
Couldn't do a testing. Installation not completed.
I have not found theme_advanced_buttonsN anywhere....add the "syntaxhl" button to "theme_advanced_buttonsN"...
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Insert/Show highlighted code on a webpage
This is the description for TinyMCE(3). You need to follow the description for TinyMCE4 below.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Insert/Show highlighted code on a webpage
SUPER!!!
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.