Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
c700e25e
Commit
c700e25e
authored
8 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
docs/_plugins/highlight_alt.rb: Use correct tag name in error message
parent
b17008c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/_plugins/highlight_alt.rb
+2
-2
docs/_plugins/highlight_alt.rb
with
2 additions
and
2 deletions
+2
-2
docs/_plugins/highlight_alt.rb
+
2
-
2
View file @
c700e25e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment