How to customize style of a blockquote? #867
-
Hi, Can we do the following: > Important {.warning}
>
> A warning message.... to render like this: Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hey, To make it complete, I need to render: > Important {.warning}
>
> A warning message....
>
> ... With more than one line ... and > Important {.warning}
>
> A warning message....
>
> ... with an image ...
> 
>
> ... or with a link ...
> [A link](https://github.com) |
Beta Was this translation helpful? Give feedback.
-
To achieve multiline, I only see this in the markdown...
When the shortcode is <blockquote class="{{ .Get 0 }}">
{{ .Get 1 }}
</blockquote> And you have custom CSS on the classes to make it appear as a single "container" but it isn't. I could also add N arguments where N+1 and so on are the content. But it won't solve my image and link usecase. |
Beta Was this translation helpful? Give feedback.
-
I used to do a similar style like this, you can imitate it and add your own codes to make it fit your requirementsAdd the following code in
add file:
Add the following code in
at last,to use these custom styles in markdown:
|
Beta Was this translation helpful? Give feedback.
I used to do a similar style like this, you can imitate it and add your own codes to make it fit your requirements
Add the following code in
data/SVG.toml
: