site: tidy a few markdown code block languages

pull/3693/head
Conduitry 6 years ago
parent 1a2af80818
commit 8d5b7e0ef3

@ -22,7 +22,7 @@ apm install file-types
From the toolbar, open Edit → Config... and add the following two lines to your root (`"*"`) section: From the toolbar, open Edit → Config... and add the following two lines to your root (`"*"`) section:
```html ```cson
"*": "*":
core: core:
@ -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`: To treat all `*.svelte` files as HTML, add the following line to your `init.vim`:
```bash ```
au! BufNewFile,BufRead *.svelte set ft=html au! BufNewFile,BufRead *.svelte set ft=html
``` ```
To temporarily turn on HTML syntax highlighting for the current buffer, use: To temporarily turn on HTML syntax highlighting for the current buffer, use:
```bash ```
:set ft=html :set ft=html
``` ```
To set the filetype for a single file, use a [modeline](https://vim.fandom.com/wiki/Modeline_magic): To set the filetype for a single file, use a [modeline](https://vim.fandom.com/wiki/Modeline_magic):
```bash ```
<!-- vim: set ft=html :--> <!-- vim: set ft=html :-->
``` ```

Loading…
Cancel
Save