Re: Highlight code?, posted by Aaron James Long on Mon Dec 12 13:35:16 2016
|
Can I ask for some clarification; I would like to include code highlighting for some computational students who will be making use of ELOG.
In the example you showed, my understanding is that you included a "Bottom text =... " entry in the forums elog config. This included
the bare minimum remote call outlined by the highlightjs site. Can you clarify (as I'm having issues setting it up) should the "Bottom text=..." |
Re: Highlight code?, posted by Stefan Ritt on Mon Dec 12 13:48:41 2016
|
All I did was this:
Bottom Text = <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css"><script
src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script><script>hljs.initHighlightingOnLoad();</script>
|
Re: Highlight code?, posted by Aaron James Long on Mon Dec 12 14:04:32 2016
|
Thanks for the quicky reply Stefan. Yes, I had inut the same string! My error was not restarting the server; I've done this and code highlighting
works fine.
Stefan |
Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Mon Dec 12 15:28:49 2016
|
My macports puts it under
/opt/local/include/openssl/ssl.h
Christina |
Re: MacOS install failure - cannot find ssl.h, posted by stefano bonaldo on Thu Dec 15 01:38:20 2016
|
On Sierra Macports install openssl in /opt/local/include/ , but copy it into /usr/local/include. You should able to fix it.
sudo cp -r /opt/local/include/openssl /usr/local/include/
Stefan |
Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 12:50:51 2016
|
On Sierre, /opt/local/include should be already included in the standar search path of the prprocessor:
/elog$ cpp -v
Apple LLVM version 8.0.0 (clang-800.0.42.1) |
Re: MacOS install failure - cannot find ssl.h, posted by Stefano Bonaldo on Thu Dec 15 15:04:53 2016
|
Currently, in my MacBook Pro with Sierre, the search path /opt/local/include of the prprocessor is not included.
cpp -v
|
Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 15:41:59 2016
|
[CODE]export C_INCLUDE_PATH=/opt/local/include[/CODE]
should do the trick. Put this into your .profile
|