Skip to content

Commit a2217ed

Browse files
committed
Fix headers inside admonitions
1 parent 0404d64 commit a2217ed

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

assets/css/content/admonition.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
border-left: 0;
55
}
66

7+
.content-inner blockquote:is(.warning, .error, .info, .neutral, .tip) :is(h1, h2, h3, h4, h5, h6) {
8+
color: var(--black);
9+
}
10+
711
.content-inner blockquote.warning {
812
background-color: var(--warningBackground);
913
}

formatters/html/dist/html-elixir-NE4QBENQ.css renamed to formatters/html/dist/html-elixir-2O34B7FU.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formatters/html/dist/html-erlang-AFUBOJPJ.css renamed to formatters/html/dist/html-erlang-GIY63A7R.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/examples/admonition.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
## Starting with header 3
44

5+
> ### Just a blockquote.
6+
>
7+
> Some `code`.
8+
>
9+
> ```elixir
10+
> foo + bar
11+
> ```
12+
>
13+
> ```text
14+
> no highlight
15+
> ```
16+
517
> ### Header 3 {: .info}
618
>
719
> #### Header 4
@@ -74,6 +86,14 @@
7486
7587
## Starting with header 4
7688
89+
> #### Just a blockquote.
90+
>
91+
> Some `code`.
92+
>
93+
> ```erlang
94+
> Foo + Bar.
95+
> ```
96+
7797
> #### Header 4 {: .info}
7898
>
7999
> Some `code`.

0 commit comments

Comments
 (0)