答案 0 :(得分:1)
您应该向---
output:
rmdformats::html_clean:
highlight: kate
toc: true
use_bookdown: true
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(
class.source = "numberLines lineAnchors"
)
```
```{r}
5 + 5
3 * 9
```
```{r}
x <- 5
x * 3
```
<!--
The javascript below will reset the line numbers when
the document loads.
-->
<script>
$(function() {
$(".sourceLine").each( function( index ){
$( this ).attr( "data-line-number", index + 1 );
});
});
</script>
申请我在下面编写的CSS。
mat-card
答案 1 :(得分:0)
您可以简单地为mat-card写一些CSS并根据需要设置width属性。 例如:
mat-card {
width: 50%;
}