aboutsummaryrefslogtreecommitdiff
path: root/docs/_plugins/highlight_alt.rb
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-16 19:46:47 -0700
committerMark Otto <[email protected]>2016-10-16 19:46:47 -0700
commitb4cdccba84f7681e2911d307828c5ce94c856736 (patch)
treef8e1edddbd941adb255766889019248ffa399d0a /docs/_plugins/highlight_alt.rb
parent05bdecd0b09a007ae949f49fdff9006650c06969 (diff)
parent6d6538fc81ebdb9e29ca5a5a4e8e5768b9358fe9 (diff)
downloadbootstrap-b4cdccba84f7681e2911d307828c5ce94c856736.tar.xz
bootstrap-b4cdccba84f7681e2911d307828c5ce94c856736.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