gitea-pages/_includes/callout.html
Spencer Bliven 2c95130a4f Add Python page
- Update styles for some includes
- Use default markdown rendering instead of span rendering to allow
  multi-line content
- Slight hack in customstyles to allow color overrides. A better fix
  would be to use the bootstrap sass to keep constant colors throughout
  the project
- Added title parameter to note and warning includes
2020-10-01 17:02:38 +02:00

11 lines
320 B
HTML

{% comment %}
A "callout" (section with colored title and left margin)
Parameters:
- type: A bootstrap color for the callout (info, warning, danger, default, success,
and primary
- content: markdown content
{% endcomment -%}
<div markdown="1" class="bs-callout bs-callout-{{include.type}}">{{include.content}}
</div>