From c700e25ef2965146d2ed4abafee0825a8094280e Mon Sep 17 00:00:00 2001 From: Chris Rebert <code@chrisrebert.com> Date: Sun, 19 Jun 2016 23:01:10 -0700 Subject: [PATCH] docs/_plugins/highlight_alt.rb: Use correct tag name in error message --- docs/_plugins/highlight_alt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_plugins/highlight_alt.rb b/docs/_plugins/highlight_alt.rb index d1ed9ccff0..ed6be57f54 100644 --- a/docs/_plugins/highlight_alt.rb +++ b/docs/_plugins/highlight_alt.rb @@ -30,11 +30,11 @@ module Jekyll @options[:linenos] = "inline" if @options.key?(:linenos) and @options[:linenos] == true 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 -- GitLab