TypeScript/JavaScript docs improvements (#5984)
authorDimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Thu, 18 Jun 2020 17:23:32 +0000 (13:23 -0400)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 17:23:32 +0000 (10:23 -0700)
commit9abb2ec2cc92008e65037854f0d236c746c9b263
treed2fde639afb87dfe0b7c78e1aa2537e1a86f86b2
parent2e57d80b13d501272612170bb0cfabffd595c91e
TypeScript/JavaScript docs improvements (#5984)

* use correct language formatter for TypeScript examples

* fixes typo in JS/TS copied from PHP (apparently)

the variables are not named with a prefixed `$`

* fixes bizarre line breaks in markdown examples

* fixes snake case typo to fit JS/TS conventions

* makes example of Uint8Array usage explicit

* removes random extra lines between language blocks

* adds simple example for writing to file in node

* typo: flabuffers => flatbuffers

* adds (previously missing) code blocks to TypeScript code block

* adds context about where `monster_generated` comes from

to the uninitiated, a bit of help like this is welcome
docs/source/Tutorial.md