Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
836de9cc
Commit
836de9cc
authored
7 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
callout.html: drop whitespace and better usage comment.
parent
b5e6eb22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_includes/callout.html
+7
-3
_includes/callout.html
with
7 additions
and
3 deletions
+7
-3
_includes/callout.html
+
7
-
3
View file @
836de9cc
{% comment %} allowed: info danger warning {% endcomment %}
{% assign css_class = include.type | default: "info" %}
{%- comment -%}
Usage: {% include callout.html content=callout type="type" %},
where content is a capture with the content
and type is one of: info (default), danger, warning
{%- endcomment -%}
{%- assign css_class = include.type | default: "info" -%}
<div
class=
"bd-callout bd-callout-{{ css_class }}"
>
{{ include.content | markdownify }}
{{
-
include.content | markdownify
-
}}
</div>
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
Menu
Explore
Projects
Groups
Snippets