Skip to content

Commit

Permalink
Add another example code style rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Dec 22, 2015
1 parent 79ea3d6 commit df0d2ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ In the post body, write the HTML and JavaScript constituting the example.
* Use **4 space indentation**. Exception: do not add an initial level of indentation to code within `<script>` tags (it should start flush left).
* Do **not** include an access token in the example code. The access token will be inserted automatically by the template, using the current logged in user's default public token, or a placeholder `<insert token here>` string if the user is not logged in.
* Do **not** use custom styles from your personal account. Use only the default `mapbox` account styles.
* When embedding literal JSON (GeoJSON or GL style snippets) into script code, double-quote property names and string values. Elsewhere, use single-quoted strings.

## Generating Documentation

Expand Down

0 comments on commit df0d2ca

Please sign in to comment.