File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ Adding a `::: {.codewindow}` fenced div around any code chunk will turn the outp
1717
1818Adding the one of the following classes adds an icon in the file tab. File an issue to have more icons added to this list
1919
20+ - ` .r `
21+ - ` .py `
22+ - ` .js `
23+ - ` .quarto `
24+ - ` .html `
25+ - ` .css `
2026- ` .sass `
2127
2228The ` width ` argument can be used directly in the code fence.
Original file line number Diff line number Diff line change @@ -87,6 +87,60 @@ styles.scss
8787```
8888:::
8989
90+ ## File icons
91+
92+ ::: columns
93+ ::: {.column width="50%"}
94+
95+ ::: {.codewindow .r}
96+ script.R
97+ ``` {sass}
98+ ```
99+ :::
100+
101+ ::: {.codewindow .python}
102+ script.py
103+ ``` {sass}
104+ ```
105+ :::
106+
107+ ::: {.codewindow .js}
108+ script.js
109+ ``` {sass}
110+ ```
111+ :::
112+
113+ :::
114+
115+ ::: {.column width="50%"}
116+
117+ ::: {.codewindow .quarto}
118+ index.qmd
119+ ``` {sass}
120+ ```
121+ :::
122+
123+ ::: {.codewindow .html}
124+ index.html
125+ ``` {sass}
126+ ```
127+ :::
128+
129+ ::: {.codewindow .css}
130+ styles.css
131+ ``` {sass}
132+ ```
133+ :::
134+
135+ ::: {.codewindow .sass}
136+ styles.sass
137+ ``` {sass}
138+ ```
139+ :::
140+
141+ :::
142+ :::
143+
90144## Setting width
91145
92146The ` width ` argument is natively supported, so the width can be set like so:
You can’t perform that action at this time.
0 commit comments