Skip to content

Commit

Permalink
Update documentation for Blade Markdown blockquotes
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 6, 2024
1 parent 466a044 commit f01590d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
4 changes: 1 addition & 3 deletions docs/creating-content/blog-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ image:
authorName: "John Doe"
```

> See [posts/introducing-images](https://hydephp.com/posts/introducing-images)
> for a detailed blog post with examples and schema information!
{ .info }
>info See [posts/introducing-images](https://hydephp.com/posts/introducing-images) for a detailed blog post with examples and schema information!

## Using Images in Posts

Expand Down
25 changes: 3 additions & 22 deletions docs/digging-deeper/advanced-markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,29 +67,10 @@ coloured blockquotes. Simply append the desired colour after the initial `>` cha
### Customizations

You can easily customize these styles too by adding and editing the following in your `resources/app.css` file, and then recompiling your site styles.
The code examples here use the Tailwind `@apply` directives, but you could also use `border-color: something;` just as well.
You can easily customize these styles by publishing and editing the `markdown-blockquote.blade.php` file.

```css
/* filepath resources/app.css
/* Markdown Features */

.prose blockquote.info {
@apply border-blue-500;
}

.prose blockquote.success {
@apply border-green-500;
}

.prose blockquote.warning {
@apply border-amber-500;
}

.prose blockquote.danger {
@apply border-red-600;
}
```bash
php hyde publish:views components
```

### Markdown usage
Expand Down

0 comments on commit f01590d

Please sign in to comment.