Skip to content

Commit

Permalink
Fixed <strong> text
Browse files Browse the repository at this point in the history
  • Loading branch information
jclarke0000 committed May 24, 2017
1 parent 1ab69a5 commit 8d8c6c2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,47 +22,47 @@ https://github.com/domsen123/mrx-work-traffic
<tbody>
<tr>
<td><code>apiKey</code></td>
<td>**REQUIRED** API Key from Google<br><br>**Type:** <code>string</code></td>
<td><strong>REQUIRED</strong> API Key from Google<br><br><strong>Type:</strong> <code>string</code></td>
</tr>
<tr>
<td><code>showHeader</code></td>
<td>Whether to show the module header<br><br>**Type:** <code>boolean</code><br>Defaults to <code>true</code></td>
<td>Whether to show the module header<br><br><strong>Type:</strong> <code>boolean</code><br>Defaults to <code>true</code></td>
</tr>
<tr>
<td><code>headerText<code></td>
<td>Text to show in the header<br><br>**Type:** <code>string</code><br>Defaults to <code>My Commute</code></td>
<td>Text to show in the header<br><br><strong>Type:</strong> <code>string</code><br>Defaults to <code>My Commute</code></td>
</tr>
<tr>
<td><code>origin</code></td>
<td>**REQUIRED** The starting point for your commute. Usually this is you home address.<br><br>**Type:** <code>string</code><br>This is as you would see it Google Maps. Example: <code>65 Front St W, Toronto, ON M5J 1E6</code></td>
<td><strong>REQUIRED</strong> The starting point for your commute. Usually this is you home address.<br><br><strong>Type:</strong> <code>string</code><br>This is as you would see it Google Maps. Example: <code>65 Front St W, Toronto, ON M5J 1E6</code></td>
</tr>
<tr>
<td><code>startTime</code></td>
<td>The start time of the window during which this module wil be visible.<br><br>**Type:** <code>string</code><br>Must be in 24-hour time format. Defaults to <code>00:00</code> (i.e.: midnight)</td>
<td>The start time of the window during which this module wil be visible.<br><br><strong>Type:</strong> <code>string</code><br>Must be in 24-hour time format. Defaults to <code>00:00</code> (i.e.: midnight)</td>
</tr>
<tr>
<td><code>endTime</code></td>
<td>The end time of the window during which this module wil be visible.<br><br>**Type:** <code>string</code><br>Must be in 24-hour time format. Defaults to <code>23:59</code> (i.e.: one minute before midnight)</td>
<td>The end time of the window during which this module wil be visible.<br><br><strong>Type:</strong> <code>string</code><br>Must be in 24-hour time format. Defaults to <code>23:59</code> (i.e.: one minute before midnight)</td>
</tr>
<tr>
<td><code>showSummary</code></td>
<td>Whether to show a brief summary of the route<br><br>**Type:** <code>boolean</code><br>Defaults to <code>true</code></td>
<td>Whether to show a brief summary of the route<br><br><strong>Type:</strong> <code>boolean</code><br>Defaults to <code>true</code></td>
</tr>
<tr>
<td><code>colorCodeTravelTime</code></td>
<td>Whether to colour-code the travel time red, yellow, or green based on traffic.<br><br>**Type:** <code>boolean</code><br>Defaults to <code>true</code></td>
<td>Whether to colour-code the travel time red, yellow, or green based on traffic.<br><br><strong>Type:</strong> <code>boolean</code><br>Defaults to <code>true</code></td>
</tr>
<tr>
<td><code>moderateTimeThreshold</code></td>
<td>The amount of variance between time in traffic vs absolute fastest time after which the time is coloured yellow<br><br>**Type:** <code>float</code><br>Defaults to <code>1.1</code> (i.e.: 10% longer than fastest time)</td>
<td>The amount of variance between time in traffic vs absolute fastest time after which the time is coloured yellow<br><br><strong>Type:</strong> <code>float</code><br>Defaults to <code>1.1</code> (i.e.: 10% longer than fastest time)</td>
</tr>
<tr>
<td><code>poorTimeThreshold</code></td>
<td>The amount of variance between time in traffic vs absolute fastest time after which the time is coloured red<br><br>**Type:** <code>float</code><br>Defaults to <code>1.3</code> (i.e.: 30% longer than fastest time)</td>
<td>The amount of variance between time in traffic vs absolute fastest time after which the time is coloured red<br><br><strong>Type:</strong> <code>float</code><br>Defaults to <code>1.3</code> (i.e.: 30% longer than fastest time)</td>
</tr>
<tr>
<td><code>destinations</code></td>
<td>An array of destinations to which you would like to see commute times.<br><br>**Type:** <code>array</code> of objects.<br>See below for destination options.</td>
<td>An array of destinations to which you would like to see commute times.<br><br><strong>Type:</strong> <code>array</code> of objects.<br>See below for destination options.</td>
</tr>
</tbody>
</table>
Expand All @@ -79,27 +79,27 @@ Each object in the `destinations` array has the following parameters:
<tbody>
<tr>
<td><code>destination</code></td>
<td>**REQUIRED** The address of the destination<br><br>**Type:** <code>string</code></td>
<td><strong>REQUIRED</strong> The address of the destination<br><br><strong>Type:</strong> <code>string</code></td>
</tr>
<tr>
<td><code>label</code></td>
<td>**REQUIRED** How you would like this displayed on your MagicMirror.<br><br>**Type:** <code>string</code></td>
<td><strong>REQUIRED</strong> How you would like this displayed on your MagicMirror.<br><br><strong>Type:</strong> <code>string</code></td>
</tr>
<tr>
<td><code>mode</code></td>
<td>Transportation mode, one of the following: <code>driving</code>, <code>walking</code>, <code>bicycling</code>, <code>transit</code>.<br><br>**Type:** <code>string</code><br>Defaults to <code>driving</code>.</td>
<td>Transportation mode, one of the following: <code>driving</code>, <code>walking</code>, <code>bicycling</code>, <code>transit</code>.<br><br><strong>Type:</strong> <code>string</code><br>Defaults to <code>driving</code>.</td>
</tr>
<tr>
<td><code>transitMode</code></td>
<td>If <code>mode</code> = <code>transit</code> you can additionally specify one or more of the following: <code>bus</code>, <code>subway</code>, <code>train</code>, <code>tram</code>, or <code>rail</code>.<br><br>**Type:** <code>string</code><br>.Separate multiple entries with the <code>|</code> character (e.g.: <code>"transitMode" : "bus|subway|tram"</code>). Specifying <code>rail</code>indicates that the calculated route should prefer travel by train, tram, light rail, and subway. Equivalenet to <code>train|tram|subway</code></td>
<td>If <code>mode</code> = <code>transit</code> you can additionally specify one or more of the following: <code>bus</code>, <code>subway</code>, <code>train</code>, <code>tram</code>, or <code>rail</code>.<br><br><strong>Type:</strong> <code>string</code><br>.Separate multiple entries with the <code>|</code> character (e.g.: <code>"transitMode" : "bus|subway|tram"</code>). Specifying <code>rail</code>indicates that the calculated route should prefer travel by train, tram, light rail, and subway. Equivalenet to <code>train|tram|subway</code></td>
</tr>
<tr>
<td><code>avoid</code></td>
<td>If specified, will instruct the Google API to find a route that avoids one of the following: <code>tolls</code>,<code>highways</code>,<code>ferries</code>,<code>indoor</code>. Any other value will be ignored. Only one option can be specified.<br><br>**Type:** <code>string</code></td>
<td>If specified, will instruct the Google API to find a route that avoids one of the following: <code>tolls</code>,<code>highways</code>,<code>ferries</code>,<code>indoor</code>. Any other value will be ignored. Only one option can be specified.<br><br><strong>Type:</strong> <code>string</code></td>
</tr>
<tr>
<td><code>color</code></td>
<td>If specified, the colour for the icon in hexadecimal format (e.g.: <code>"#82BAE5"</code>)<br><br>**Type:** <code>string</code><br>Defaults to white.</td>
<td>If specified, the colour for the icon in hexadecimal format (e.g.: <code>"#82BAE5"</code>)<br><br><strong>Type:</strong> <code>string</code><br>Defaults to white.</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 8d8c6c2

Please sign in to comment.