Skip to content

Commit

Permalink
update readme for new examples section
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjofrank committed Dec 10, 2024
1 parent e7fba97 commit a4b118c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ authored.
## Examples

[Deno by Example](https://docs.deno.com/examples) is a collection of small
snippets of code, tutorials and videos showcasing various functions of the APIs implemented in Deno.
snippets of code, tutorials and videos showcasing various functions of the APIs
implemented in Deno.

### Adding an example script

Expand All @@ -124,11 +125,11 @@ snippets of code, tutorials and videos showcasing various functions of the APIs

### Adding an example

To add an example, create a file in the `examples/scripts` directory. The file name
should be a short description of the example (in kebab case) and the contents
should be the code for the example. The file should be in the `.ts` format. The
file should start with a JSDoc style multi line comment that describes the
example:
To add an example, create a file in the `examples/scripts` directory. The file
name should be a short description of the example (in kebab case) and the
contents should be the code for the example. The file should be in the `.ts`
format. The file should start with a JSDoc style multi line comment that
describes the example:

```ts
/**
Expand Down

0 comments on commit a4b118c

Please sign in to comment.