Skip to content

Commit

Permalink
css: add border to sh code chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Nov 8, 2023
1 parent 501003e commit 31ab078
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions inst/assets/book.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ pre.sourceCode.r, code.sourceCode.r {

}

pre.sourceCode.sh {
background-color: #ffffff00;
border: 1px solid black;
border-radius: 8px;
}

/* Chapter label ---------------------------------------- */

.chapter-number::before {
Expand Down
2 changes: 1 addition & 1 deletion inst/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ The OHCA book has been rendered in R thanks to a number of packages, including b

To build this book locally, you can run:

```{sh eval = FALSE, filename="bash"}
```{sh eval = FALSE}
git clone [email protected]:js2264/OHCA.git && cd OHCA
quarto render
```
Expand Down

0 comments on commit 31ab078

Please sign in to comment.