Site Notice
hello, world
Difference between revisions of "Highlight"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
Line 1: | Line 1: | ||
<pre class="highlight lang-js"> | <pre class="highlight lang-js"> | ||
+ | $('.abc').html('<span>some thing.</span>'); | ||
+ | </pre> | ||
+ | |||
+ | <pre class="highlight lang-js linenums"> | ||
+ | // Has line numbers | ||
$('.abc').html('<span>some thing.</span>'); | $('.abc').html('<span>some thing.</span>'); | ||
</pre> | </pre> |
Revision as of 21:40, 29 October 2020
$('.abc').html('<span>some thing.</span>');
// Has line numbers $('.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