aboutsummaryrefslogtreecommitdiff
path: root/plugin/highlight/highlight.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/highlight/highlight.js')
-rw-r--r--plugin/highlight/highlight.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/highlight/highlight.js b/plugin/highlight/highlight.js
index b3599e8..83305e1 100644
--- a/plugin/highlight/highlight.js
+++ b/plugin/highlight/highlight.js
@@ -101,7 +101,8 @@ c:[{cN:"comment",b:/\(\*/,e:/\*\)/},e.ASM,e.QSM,e.CNM,{b:/\{/,e:/\}/,i:/:/}]}});
/**
* Highlights a code block. If the <code> node has the
- * 'line-numbers' class we also generate slide numbers.
+ * 'data-line-numbers' attribute we also generate slide
+ * numbers.
*/
highlightBlock: function( block ) {
@@ -119,7 +120,7 @@ c:[{cN:"comment",b:/\(\*/,e:/\*\)/},e.ASM,e.QSM,e.CNM,{b:/\{/,e:/\}/,i:/:/}]}});
/**
* Visually emphasize specific lines within a code block.
- * This onnly works on blocks with line numbering turned on.
+ * This only works on blocks with line numbering turned on.
*
* @param {HTMLElement} block a <code> block
* @param {String} [linesToHighlight] The lines that should be