fix linting for fenced codeblocks only (see electron/electronjs.org#868)

This commit is contained in:
Vanessa Yuen 2017-11-20 14:18:24 +08:00
parent 2441d51093
commit 435e027dc3
17 changed files with 79 additions and 65 deletions

View file

@ -112,7 +112,7 @@ A comma-separated list of servers for which integrated authentication is enabled
For example:
```
```bash
--auth-server-whitelist='*example.com, *foobar.com, *baz'
```

View file

@ -315,7 +315,7 @@ Template:
Menu:
```
```sh
- 1
- 2
- 3
@ -338,7 +338,7 @@ Template:
Menu:
```
```sh
- ---
- a
- b

View file

@ -146,7 +146,7 @@ of the main process.
e.g.
```
```sh
project/
├── main
│   ├── foo.js

View file

@ -78,7 +78,7 @@ Note that it is not enough to call
code runs after it is possible to make changes to chromium sandbox settings. The
switch must be passed to electron on the command-line:
```
```sh
electron --enable-sandbox app.js
```
@ -151,10 +151,12 @@ Important things to notice in the preload script:
To create a browserify bundle and use it as a preload script, something like
the following should be used:
browserify preload/index.js \
-x electron \
-x fs \
--insert-global-vars=__filename,__dirname -o preload.js
```sh
browserify preload/index.js \
-x electron \
-x fs \
--insert-global-vars=__filename,__dirname -o preload.js
```
The `-x` flag should be used with any required module that is already exposed in
the preload scope, and tells browserify to use the enclosing `require` function

View file

@ -140,7 +140,7 @@ option is ignored and `pacScript` configuration is applied.
The `proxyRules` has to follow the rules below:
```
```sh
proxyRules = schemeProxies[";"<schemeProxies>]
schemeProxies = [<urlScheme>"="]<proxyURIList>
urlScheme = "http" | "https" | "ftp" | "socks"