Obsidian에서 인용 블록을 강조 박스로 스타일링하기

many markdown editors allow to style the blockquotes with some keyword… like (in Obsidian Callouts - Obsidian Help )

> [!tip] Callouts can have custom titles
> Like this one.

since many of us are starting to sync content with Obsidian… is it possibile to have such a styling (apply a custom class) to the blockquotes?

i couldn’t find any reference here in the forum

10개의 좋아요

Great idea!

A theme component could be a reasonable approach (it is easier to make versus editing or creating a Markdown plugin)
I just gave it a try quickly:

13개의 좋아요

how could you make it so… fast! :slight_smile:

2개의 좋아요

It’s not done; this is just a quick and basic preview.
I’m pretty sure there are issues (for example, nested quotes).

The Discourse API is super convenient; It’s easier than you think!
All that is left is essentially rearranging the generated HTML.

You might want to learn too: Introduction to Discourse Development! :smile:

11개의 좋아요

인용 블록의 모서리를 둥글게 만들 수 있는 #customization:theme-component도 있습니다.

그리고 Solved Quote를 커스터마이징하는 것도 있습니다.

이 링크들과 @Arkshine님이 공유한 링크를 연구해 보는 것이 좋은 시작점이 될 것입니다. 또한 브라우저에서 '요소 검사’를 사용하는 법도 배워 보세요.

3개의 좋아요

Would this styling also be used in emails that are sent out?

You can give it a try now. I’ve released the TC. Thanks for your patience! :tada:

7개의 좋아요