|
| 1 | +{{template "devtest/devtest-header"}} |
| 2 | +<div class="page-content devtest ui container"> |
| 3 | + {{$longCode := "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"}} |
| 4 | + <div class="tw-flex"> |
| 5 | + <div class="tw-w-[50%] tw-p-4"> |
| 6 | + <div class="markup render-content"> |
| 7 | + Inline <code>code</code> content |
| 8 | + </div> |
| 9 | + |
| 10 | + <div class="divider"></div> |
| 11 | + |
| 12 | + <div class="markup render-content"> |
| 13 | + <p>content before</p> |
| 14 | + <pre><code>Very long line with no code block or container: {{$longCode}}</code></pre> |
| 15 | + <p>content after</p> |
| 16 | + </div> |
| 17 | + |
| 18 | + <div class="divider"></div> |
| 19 | + |
| 20 | + <div class="markup render-content"> |
| 21 | + <p>content before</p> |
| 22 | + <div class="code-block-container code-overflow-wrap"> |
| 23 | + <pre class="code-block"><code>Very long line with wrap: {{$longCode}}</code></pre> |
| 24 | + </div> |
| 25 | + <p>content after</p> |
| 26 | + </div> |
| 27 | + |
| 28 | + <div class="divider"></div> |
| 29 | + |
| 30 | + <div class="markup render-content"> |
| 31 | + <p>content before</p> |
| 32 | + <div class="code-block-container code-overflow-scroll"> |
| 33 | + <pre class="code-block"><code>Short line in scroll container</code></pre> |
| 34 | + </div> |
| 35 | + <div class="code-block-container code-overflow-scroll"> |
| 36 | + <pre class="code-block"><code>Very long line with scroll: {{$longCode}}</code></pre> |
| 37 | + </div> |
| 38 | + <p>content after</p> |
| 39 | + </div> |
| 40 | + </div> |
| 41 | + |
| 42 | + <div class="tw-w-[50%] tw-p-4"> |
| 43 | + <div class="markup render-content"> |
| 44 | + <p>content before</p> |
| 45 | + <div class="code-block-container"> |
| 46 | + <pre class="code-block"><code class="language-math"> |
| 47 | + \lim\limits_{n\rightarrow\infty}{\left(1+\frac{1}{n}\right)^n} |
| 48 | + </code></pre> |
| 49 | + </div> |
| 50 | + <p>content after</p> |
| 51 | + </div> |
| 52 | + |
| 53 | + <div class="divider"></div> |
| 54 | + |
| 55 | + <div class="markup render-content"> |
| 56 | + <p>content before</p> |
| 57 | + <div class="code-block-container"> |
| 58 | + <pre class="code-block"><code class="language-mermaid is-loading"> |
| 59 | + graph LR |
| 60 | + A[Square Rect] -- Link text --> B((Circle)) |
| 61 | + A --> C(Round Rect) |
| 62 | + B --> D{Rhombus} |
| 63 | + C --> D |
| 64 | + </code></pre> |
| 65 | + </div> |
| 66 | + <p>content after</p> |
| 67 | + </div> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | +</div> |
| 71 | +{{template "devtest/devtest-footer"}} |
0 commit comments