From f01590d385914601c77a7f6e96611d5024d10875 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 6 Dec 2024 15:30:06 +0100 Subject: [PATCH] Update documentation for Blade Markdown blockquotes --- docs/creating-content/blog-posts.md | 4 +--- docs/digging-deeper/advanced-markdown.md | 25 +++--------------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/docs/creating-content/blog-posts.md b/docs/creating-content/blog-posts.md index 0fce218a810..5dc5061b85e 100644 --- a/docs/creating-content/blog-posts.md +++ b/docs/creating-content/blog-posts.md @@ -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 diff --git a/docs/digging-deeper/advanced-markdown.md b/docs/digging-deeper/advanced-markdown.md index 6a2a0d52c98..8010b4305f6 100644 --- a/docs/digging-deeper/advanced-markdown.md +++ b/docs/digging-deeper/advanced-markdown.md @@ -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