Skip to content

Commit 466eb60

Browse files
committed
Add Quarto features in css
1 parent ed7e8f2 commit 466eb60

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ follow. Then, as before, you can build your site using
5656

5757
<pre><strong>.pkgdown.yaml</strong></pre>
5858

59-
``` .yaml
59+
``` yaml
6060
template:
6161
bootstrap: 5
6262
package: gitdevr

README.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ before, you can build your site using `pkgdown::build_site()`.
6565
```{=html}
6666
<pre><strong>.pkgdown.yaml</strong></pre>
6767
```
68-
```.yaml
68+
69+
``` yaml
6970
template:
7071
bootstrap: 5
7172
package: gitdevr
@@ -84,6 +85,7 @@ It is recommended to add the following line to your `DESCRIPTION`:
8485
```{=html}
8586
<pre><strong>DESCRIPTION</strong></pre>
8687
```
88+
8789
```
8890
Config/Needs/website: dieghernan/gitdevr
8991
```

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"SystemRequirements": null
116116
},
117117
"keywords": ["pkgdown", "pkgdown-template", "r", "r-package"],
118-
"fileSize": "245.074KB",
118+
"fileSize": "245.013KB",
119119
"readme": "https://github.com/dieghernan/gitdevr/blob/main/README.md",
120120
"contIntegration": "https://github.com/dieghernan/gitdevr/actions/workflows/check-simple.yaml",
121121
"developmentStatus": "https://lifecycle.r-lib.org/articles/stages.html#experimental"

inst/pkgdown/assets/BS5/gitdevr.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,11 @@ blockquote,
306306
}
307307

308308
/* ---Code--- */
309-
.code-with-filename .code-with-filename-file pre {
309+
.code-with-filename {
310+
margin-bottom: 1rem;
311+
}
312+
313+
.code-with-filename .code-with-filename-file pre:not(.sourceCode) {
310314
margin-bottom: 0;
311315
padding-top: 0.25rem;
312316
padding-bottom: 0.25rem;

0 commit comments

Comments
 (0)