Site Notice

hello, world

Difference between revisions of "Highlight"

From Project-EPB Commons
m ([InPageEdit])
([InPageEdit] 没有编辑摘要)
Line 1: Line 1:
<code class="hljs javascript">
+
<pre class="highlight lang-js">
 
$('.abc').html('<span>some thing.</span>');
 
$('.abc').html('<span>some thing.</span>');
</code>
+
</pre>
  
<syntaxhighlight lang="JavaScript">
+
<pre class="highlight lang-js" data-line-from="3">
 +
// line from 3
 
$('.abc').html('<span>some thing.</span>');
 
$('.abc').html('<span>some thing.</span>');
</syntaxhighlight >
+
</pre>
 +
 
 +
<pre class="highlight lang-js" data-line-ping="2">
 +
// line 1
 +
$('.abc').html('<span>some thing.</span>');
 +
// line 3
 +
</pre>

Revision as of 21:38, 29 October 2020

$('.abc').html('<span>some thing.</span>');
// line from 3
$('.abc').html('<span>some thing.</span>');
// line 1
$('.abc').html('<span>some thing.</span>');
// line 3