Skip to content

Commit 5f13033

Browse files
committed
Improve buttons
1 parent a1d2ff1 commit 5f13033

1 file changed

Lines changed: 15 additions & 57 deletions

File tree

vignettes/test/rendering.Rmd

Lines changed: 15 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Second paragraph
6161
## Tables
6262

6363
| col 1 | col 2 | col 3 | col 4 |
64-
|:----------------------|:------------------|:-----------------:|:-----------------:|
64+
|:---|:---|:--:|:--:|
6565
| Brightness | Total brightness, total reflectance, spectral intensity | $$y = x^2$$ | test |
6666

6767
## Math
@@ -81,53 +81,16 @@ This text too.
8181
## Buttons
8282

8383
::: {.d-grid .gap-2 .col-6 .mx-auto}
84-
<button type="button" class="btn btn-primary btn-lg">
85-
86-
Primary
87-
88-
</button>
89-
90-
<button type="button" class="btn btn-secondary btn-lg">
91-
92-
Secondary
93-
94-
</button>
95-
96-
<button type="button" class="btn btn-success btn-lg">
97-
98-
Success
99-
100-
</button>
101-
102-
<button type="button" class="btn btn-danger btn-lg">
103-
104-
Danger
105-
106-
</button>
107-
108-
<button type="button" class="btn btn-warning btn-lg">
109-
110-
Warning
111-
112-
</button>
113-
114-
<button type="button" class="btn btn-info btn-lg">
115-
116-
Info
117-
118-
</button>
119-
120-
<button type="button" class="btn btn-light btn-lg">
121-
122-
Light
123-
124-
</button>
125-
126-
<button type="button" class="btn btn-dark btn-lg">
127-
128-
Dark
129-
130-
</button>
84+
```{=html}
85+
<button type="button" class="btn btn-primary btn-lg">Primary</button>
86+
<button type="button" class="btn btn-secondary btn-lg">Secondary</button>
87+
<button type="button" class="btn btn-success btn-lg">Success</button>
88+
<button type="button" class="btn btn-danger btn-lg">Danger</button>
89+
<button type="button" class="btn btn-warning btn-lg">Warning</button>
90+
<button type="button" class="btn btn-info btn-lg">Info</button>
91+
<button type="button" class="btn btn-light btn-lg">Light</button>
92+
<button type="button" class="btn btn-dark btn-lg">Dark</button>
93+
```
13194
:::
13295

13396
## Code
@@ -258,17 +221,12 @@ Some more text
258221
259222
<figure>
260223

261-
<blockquote class="blockquote">
262-
263-
<p>A Boostrap 5 blockquote with footer.</p>
264-
265-
</blockquote>
266-
267-
<figcaption class="blockquote-footer">
268-
269-
Someone famous in <cite title="Source Title">Source Title</cite>
224+
> A Boostrap 5 blockquote with footer.
270225
226+
```{=html}
227+
<figcaption class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite>
271228
</figcaption>
229+
```
272230

273231
</figure>
274232

0 commit comments

Comments
 (0)