Skip to content

Commit

Permalink
site: tidy a few markdown code block languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed Oct 12, 2019
1 parent 1a2af80 commit 8d5b7e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/content/blog/2019-04-15-setting-up-your-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apm install file-types

From the toolbar, open Edit → Config... and add the following two lines to your root (`"*"`) section:

```html
```cson
"*":
core:
Expand All @@ -34,18 +34,18 @@ From the toolbar, open Edit → Config... and add the following two lines to you

To treat all `*.svelte` files as HTML, add the following line to your `init.vim`:

```bash
```
au! BufNewFile,BufRead *.svelte set ft=html
```

To temporarily turn on HTML syntax highlighting for the current buffer, use:

```bash
```
:set ft=html
```

To set the filetype for a single file, use a [modeline](https://vim.fandom.com/wiki/Modeline_magic):

```bash
```
<!-- vim: set ft=html :-->
```

0 comments on commit 8d5b7e0

Please sign in to comment.