* fix: Fixes#204. Adds coloured syntax highlighting to TypeDoc code examples
* Add Gitbook plugin Sunlight Highlighter https://www.npmjs.com/package/gitbook-plugin-sunlight-highlighter
* Still requires use of <BR> HTML element to shift code onto a new line
* Example use of Sunlight Highlighter from their README `javascript+theme:gitbook+lineNumbers:true+lineNumberStart:100` (in this example it uses their gitbook theme with line numbers shown and line numbers starting from 100)
* Updated book.json to add the Sunlight Highlighter plugin, and explicitely configured it to use the gitbook theme by default
* Enable showing line numbers only on TypeDoc example code that is longer (i.e. 8 lines long)
* fix: Remove unnecessary inline config for no line numbers since is default
* fix: Remove use of line numbers so consistent with the rest
* fix: Modify TypeDocs that change the source to resolve rendering correctly
* Add TypeDoc/TSDoc labels
* Use HTML <BR> element in TypeDoc to generate new lines even to achieve a newline between lines of code
* Use HTML <PRE><CODE> combination in TypeDoc for multiple line code generation
* Add missing TypeDocs for HTTP `constructor` and `send` for HTTP and WS
* Remove unnecessary assignment of `= true` default value in TypeDoc @param value and clean up text alignment
* Verified that it displays correctly in development environment by running `yarn; yarn polkadot-dev-build-docs; yarn gitbook serve`, and then navigating to localhost:4000
* fix: remove signature that was used with jsdocs flowtype
* Only modify type-storage folder to avoid conflicts
* Use new syntax
* Export default
* Add legacy code
* Skip outdates tests
* Use fromJSON for metadata
* Add comment to move function to repo
* Add whitespace
* Add type
* Use original files
* Fix bug test
* Simplify code
* Fix bug initializing well known keys
* Rename well known keys to substrate
* Linting
* Linting
* Move triple backticks onto new line so it doesn't break the code snippet formatting
* Add newline between dependency imports and variable declarations
* Add link to relevant line of Github repo of eventemitter3 instead of the travis build directory
* Add full stop at end of sentence in line before `@example` in .ts files, since I noticed that was the only difference between code snippet in docs that was being rendered correctly and one that was not (if the docs were generated from it). Not sure if this actually makes any difference though, but it doesn't hurt to try. i.e. change `[[unsubscribe]]` to `[[unsubscribe]].`
* Add missing code syntax for `new Ws(defaults.WS_URL)`
* Add missing `*__example__*:`
* Add missing semi-colons throughout code
* Fix typos and some grammar
* Move import of external libraries i.e. `const BN = require('bn.js');` or `const crypto = require('crypto');` before `@polkadot` ones in code
* Change from `e` to `error` in catch blocks for readable documentation