We speak English!!!
Nous parlons Francais!!!
Wir sprechen Deutsch!!!
 

CedHighlightjs works, styles lost when saved

More
3 years 3 months ago #92 by FC
It works better now I've changed the skin.
There are still some missing styles I think... sorry, maybe I didn't understand some point...

1) Here you can compare the Foundation skin in your demo and in the article I saved :





The result is the same with the 2 following source codes (a-autodetection , b- class edition , c-assistant) :
a-
<pre><code>my_code_here</code></pre>
b-
<pre><code class="sql">my_code_here</code></pre>
c-
<pre class="language-markup"><code>my_code_here</code></pre>

2) I don't understand why the assistant langages list is not complete
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #93 by FC
An example with the sql keywords
  • The demo use the file highlightjs.org/static/demo/styles/foundation.css

<code>.hljs-keyword {
color: #099;
}</code>
  • CedHighlightjs 1.0.1 use the file cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/foundation.min.css

<code>.hljs-keyword {
color: #000;
}</code>

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds