Added quote/cite styles for admonition

This commit is contained in:
squidfunk 2017-02-26 19:50:53 +01:00 committed by Martin Donath
parent 0a6e70262b
commit 009b41cdb1
5 changed files with 28 additions and 3 deletions

View File

@ -331,3 +331,27 @@ Result:
Qualifiers: Qualifiers:
* `bug` * `bug`
### Quote
Example:
``` markdown
!!! quote
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa.
```
Result:
!!! quote
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa.
Qualifiers:
* `quote`
* `cite`

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -32,7 +32,7 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script>
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-4ebe3f1d68.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-e17eeafcbc.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-892b79c5c5.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-892b79c5c5.palette.css">
{% endif %} {% endif %}

View File

@ -64,7 +64,8 @@
warning caution attention: $clr-orange-a400 "warning", warning caution attention: $clr-orange-a400 "warning",
failure fail missing: $clr-red-a200 "clear", failure fail missing: $clr-red-a200 "clear",
danger error: $clr-red-a400 "flash_on", danger error: $clr-red-a400 "flash_on",
bug: $clr-pink-a400 "bug_report" bug: $clr-pink-a400 "bug_report",
quote cite: $clr-grey "format_quote"
) { ) {
$tint: nth($appearance, 1); $tint: nth($appearance, 1);
$icon: nth($appearance, 2); $icon: nth($appearance, 2);