1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-11-20 19:48:59 +03:00

Highlight code as CSS

Randall Mason 2021-08-08 21:10:43 -05:00
parent c2c52ab35b
commit 56e25dd1d9

@ -2,7 +2,7 @@ In a workspace:
1. Click **Cloud9**, then **Preferences** (or use keyboard shortcut <kbd>CTRL</kbd> + <kbd>,</kbd>) 1. Click **Cloud9**, then **Preferences** (or use keyboard shortcut <kbd>CTRL</kbd> + <kbd>,</kbd>)
2. Go to **Themes**, then click on **You can also style Cloud9 by editing _your stylesheet_** (this will open a blank _styles.css_ file in the C9 editor) 2. Go to **Themes**, then click on **You can also style Cloud9 by editing _your stylesheet_** (this will open a blank _styles.css_ file in the C9 editor)
3. Copy & paste the following: 3. Copy & paste the following:
``` ```css
@font-face{ @font-face{
font-family: 'Fira Code'; font-family: 'Fira Code';
src: url('https://raw.githubusercontent.com/tonsky/FiraCode/5.2/distr/woff2/FiraCode-Regular.woff2') format('woff2'), src: url('https://raw.githubusercontent.com/tonsky/FiraCode/5.2/distr/woff2/FiraCode-Regular.woff2') format('woff2'),