Skip to content

Commit ea001a2

Browse files
committed
Fix inline code wrapping
1 parent 8b149fc commit ea001a2

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

docs/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,31 @@ Elastic Docs V3 is our next-generation documentation platform designed to improv
99
* [Configure content sets in V3](./configure/index.md)
1010
* [Learn about V3 syntax](./syntax/index.md)
1111
* [Contribute to V3 (developer guide)](./development/index.md)
12+
13+
14+
## What the `code`?
15+
16+
17+
18+
`super long inline code that should wrap super long inline code that should wrap super long inline code that should wrap`
19+
20+
21+
:::{important}
22+
23+
Test `code` inline within admonition.
24+
25+
`super long inline code that should wrap super long inline code that should wrap super long inline code that should wrap`
26+
:::
27+
28+
:::{warning}
29+
30+
Test `code` inline within admonition.
31+
32+
`super long inline code that should wrap super long inline code that should wrap super long inline code that should wrap`
33+
:::
34+
35+
36+
- list item 1
37+
- sub list item 1
38+
39+
`with super long inline code that should wrap super long inline code that should wrap super long inline code that should wrap`

src/Elastic.Markdown/Assets/markdown/code.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@
6868
rounded-xs
6969
border-1
7070
border-gray-300
71-
inline-block
72-
text-nowrap
7371
;
7472
font-size: 0.875em;
7573
line-height: 1.4em;
@@ -78,6 +76,7 @@
7876
letter-spacing: 0.02em;
7977
text-decoration: inherit;
8078
font-weight: inherit;
79+
mix-blend-mode: multiply;
8180
}
8281

8382

0 commit comments

Comments
 (0)