Skip to content

Commit 6b66e81

Browse files
committed
adding block quote and fixing search
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent 51f4a0a commit 6b66e81

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

assets/css/main.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,13 @@ code, kbd, pre {
347347
.md-typeset ol li blockquote, .md-typeset ol li p, .md-typeset ul li blockquote, .md-typeset ul li p {
348348
margin: .5em 0;
349349
}
350+
351+
blockquote {
352+
background-color: rgba(255,229,100,.3);
353+
border-left: 8px solid #ffe564;
354+
padding: 15px 20px 15px 15px;
355+
}
356+
350357
.md-typeset ol li:last-child, .md-typeset ul li:last-child {
351358
margin-bottom: 0;
352359
}

docs/getting-started.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ into [this json data structure](https://vsoch.github.io/mkdocs-jekyll/search/sea
3030
that feeds into the search defined in `assets/js/application.js`. If you want to
3131
exclude any file from search, add this to its front end matter:
3232

33+
```
3334
---
3435
layout: null
3536
excluded_in_search: true
3637
---
38+
```
3739

3840
The example above is for a css file in the assets folder that is used as a template,
3941
but should not be included in search.
@@ -155,17 +157,22 @@ badges:
155157

156158
And here is the post preview with the rendered badges that it produces:
157159

158-
![BADGES](https://user-images.githubusercontent.com/814322/60386723-02281100-9a67-11e9-8226-b967445f9941.png)
160+
<span class="badge badge-warning">warning-badge</span>
161+
<span class="badge badge-danger">danger-badge</span>
159162

160-
A second post with the other types is also shown.
163+
And the other badges that you can define include success, info, secondary,
164+
and primary.
161165

166+
<span class="badge badge-success">success-badge</span>
167+
<span class="badge badge-info">info-badge</span>
168+
<span class="badge badge-secondary">secondary-badge</span>
169+
<span class="badge badge-primary">primary-badge</span>
162170
### Alerts
163171

164-
{% include alert.html type="info" title="What is an alert?" content="An alert is a box that can stand out to indicate important information. You can choose from levels success, warning, danger, info, and primary. This example is an info box, and the code for it looks like this:" %}
172+
{% include alert.html type="info" title="What is an alert?" content="An alert is a box that can stand out to indicate important information. You can choose from levels success, warning, danger, info, and primary. This example is an info box, and the code for another might look like this:" %}
165173

166174
```
167-
{%raw%}{% include alert.html type="info" title="What is an alert?" content="An alert is a box that can stand out to indicate important information. You can choose from levels success, warning, danger, info, and primary. This example is an info box, and the code for it looks like this:" %}
168-
{%endraw%}
175+
{%raw%}{% include alert.html type="info" title="Here is another!" %}{%endraw%}
169176
```
170177
171178
Just for fun, here are all the types:
@@ -174,6 +181,12 @@ Just for fun, here are all the types:
174181
{% include alert.html type="danger" content="This alerts danger!" %}
175182
{% include alert.html type="success" content="This alerts success" %}
176183
184+
### Quotes
185+
186+
You can include block quotes to emphasize text.
187+
188+
> Here is an example. Isn't this much more prominent to the user?
189+
177190
## Development
178191
179192
Initially (on OS X), you will need to setup [Brew](http://brew.sh/) which is a package manager for OS X and [Git](https://git-scm.com/). To install Brew and Git, run the following commands:

0 commit comments

Comments
 (0)