diff options
Diffstat (limited to 'docs/_plugins/highlight_alt.rb')
| -rw-r--r-- | docs/_plugins/highlight_alt.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_plugins/highlight_alt.rb b/docs/_plugins/highlight_alt.rb index d1ed9ccff..bdcada251 100644 --- a/docs/_plugins/highlight_alt.rb +++ b/docs/_plugins/highlight_alt.rb @@ -27,14 +27,14 @@ module Jekyll @options[key.to_sym] = value || true end end - @options[:linenos] = "inline" if @options.key?(:linenos) and @options[:linenos] == true + @options[:linenos] = false else raise SyntaxError.new <<-eos -Syntax Error in tag 'highlight' while parsing the following markup: +Syntax Error in tag 'example' while parsing the following markup: #{markup} -Valid syntax: highlight <lang> [linenos] +Valid syntax: example <lang> eos end end |
