Re: Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 13:45:55 2016
|
I thought so.
One more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....
I know that downloaded hightlight pack I must put into folder scripts, but where to add this line: |
Re: Highlight code?, posted by Stefan Ritt on Tue Sep 6 14:02:56 2016
|
I did not know about highlight.js . You can put it into any elog page with "Bottom text = ...". I tried it for this forum and put in some C
code:
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("C Programming");
|
Re: Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 14:51:19 2016
|
Looks like it works :)
Code need to be put in tags:
<pre><code class="sql">...</code></pre> |
Re: Highlight code?, posted by Stefan Ritt on Tue Sep 6 15:29:22 2016
|
In the HTML editor, you can select the code text, then select from the "Styles" drop-down the style "Computer Code", and on the "Normal"
drop-down the formatting "Formatted". This puts the code in <pre> and <code> tags, so you don't have to manipulate
HTML directly. |
Re: error message "Command Config is not allowed" after registering, posted by Mark Bergman on Tue Sep 6 20:09:07 2016
|
Mark
Bergman wrote:
After registering, elog displays a page with the message: |
Re: Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 22:18:29 2016
|
Ok. Thanks a lot :)
Stefan
Ritt wrote:
In the HTML editor, you can select the code text, then select from the |
Windows service settings, posted by christian on Fri Sep 9 10:31:15 2016
|
Hello,
I've been successfully using elog as a daemon since several years on a Linux machine. For some reasons recently I had to switch to a
Windows 7 machine. Here, setting up the elog daemon doesn't work for me: |
Re: Windows service settings, posted by Stefan Ritt on Fri Sep 9 11:33:04 2016
|
These problems are usaully related to user rights. Try starting the service under a different (maybe admin) user.
Stefan
christian |