aboutsummaryrefslogtreecommitdiff
path: root/docs/_plugins/highlight_alt.rb
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-07-23 21:05:18 -0700
committerMark Otto <[email protected]>2016-07-23 21:05:18 -0700
commit7fd00263e35f891bfc792f9dd12c17a5025cd93c (patch)
tree28d07418fb7abfacccb317b501937e02ffccf096 /docs/_plugins/highlight_alt.rb
parentd4457b33032d2540a4a3b7fa600f22055ce2000d (diff)
parent38312640df9c4b84a47e62d7dfeb16b25049aafb (diff)
downloadbootstrap-7fd00263e35f891bfc792f9dd12c17a5025cd93c.tar.xz
bootstrap-7fd00263e35f891bfc792f9dd12c17a5025cd93c.zip
Merge branch 'v4-dev' into v4-navbars
Diffstat (limited to 'docs/_plugins/highlight_alt.rb')
-rw-r--r--docs/_plugins/highlight_alt.rb6
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