Markdown Refresh: Part II

This commit is contained in:
Nicholas Hubbard 2016-04-10 17:14:19 -04:00
parent 4b8bc65fb7
commit 360e1e327e

113
README.md
View File

@ -8,7 +8,7 @@
</p> </p>
This version of the Magic Mirror software focusses on a modular plugin system. Besides that, the MagicMirror² software now also uses [Electron](http://electron.atom.io/), so no more webserver or browser installs necessary. This version of the Magic Mirror software focuses on a modular plugin system. Besides that, the MagicMirror² software now also uses [Electron](http://electron.atom.io/), so no more web server or browser installs necessary.
**WARNING!** This version is in a *very* early stage. It is **not** completed yet. **Please** use the master branch. **WARNING!** This version is in a *very* early stage. It is **not** completed yet. **Please** use the master branch.
@ -56,92 +56,37 @@ The following wiki links are helpful in the cofiguration of your MagicMirror² o
The following properties can be configured: The following properties can be configured:
<table width="100%"> | Option | Description |
<!-- why, markdown... --> | --- | --- |
<thead> | `port` | HThe port on which the MagicMirror² server will run.
<tr> **Default value:** `8080` |
<th>Option</th> | `language` | The language of the interface. (Note: Not all elements will be translated.)
<th width="100%">Description</th> **Possible values:**`en`, `nl`, `ru`, `fr`, etc ...
</tr> **Default value:** `en` |
<thead> | `timeFormat` | The time notation.
<tbody> **Possible values:** `24` or `12`
**Default value:** `24` |
<tr> | `modules` | An array of of the active modules.
<td><code>port</code></td> The array should contain objects. See _module configuration_ below for more information. |
<td>HThe port on which the MagicMirror² server will run.
<br><b>Default value:</b> <code>8080</code>
</td>
</tr>
<tr>
<td><code>language</code></td>
<td>The language of the interface. (Note: Not all elements will be translated.)
<br><b>Possible values:</b><code>en</code>, <code>nl</code>, <code>ru</code>, <code>fr</code>, etc ...
<br><b>Default value:</b> <code>en</code>
</td>
</tr>
<tr>
<td><code>timeFormat</code></td>
<td>The time notation.
<br><b>Possible values:</b> <code>24</code> or <code>12</code>
<br><b>Default value:</b> <code>24</code>
</td>
</tr>
<tr>
<td><code>modules</code></td>
<td>An array of of the active modules.<br> The array should contain objects. See <i>module configuration</i> below for more information.
</td>
</tr>
</tbody>
</table>
Module configuration: Module configuration:
<table width="100%"> | Option | Description |
<!-- why, markdown... --> | --- | --- |
<thead> | `module` | The name of the module. This can also contain the subfolder:
<tr> **Example:** `clock`
<th>Option</th> **Example:** `default/calendar`
<th width="100%">Description</th> **Example:** `custommodules/mymodule` |
</tr> | `position` | The location of the module in which the module will be loaded.
<thead> **Possible values:**`top_bar`, `top_left`, `top_center`, `top_right`, `upper_third`, `middle_center`, `lower_third`, `bottom_left`, `bottom_center`, `bottom_right`, `bottom_bar`, `fullscreen_above`, `fullscreen_below`
<tbody> **Note:** This field is optional, but most modules require this field to be set. Check the documentation of the module for more info.
**Note:** Multiple modules with the same position will be ordered based on the order in the config file. |
<tr> | `classes` | Additional classed which are added to the module.
<td><code>module</code></td> **Note:** This field is optional. |
<td>The name of the module. This can also contain the subfolder: | `header` | To display a header text above the module, add the header property.
<br><b>Example:</b> <code>clock</code> **Note:** This field is optional. |
<br><b>Example:</b> <code>default/calendar</code> | `config` | An object with the module configuration properties. Check the documentation of the module for more info.
<br><b>Example:</b> <code>custommodules/mymodule</code> **Note:** This field is optional |
</td>
</tr>
<tr>
<td><code>position</code></td>
<td>The location of the module in which the module will be loaded.
<br><b>Possible values:</b><code>top_bar</code>, <code>top_left</code>, <code>top_center</code>, <code>top_right</code>, <code>upper_third</code>, <code>middle_center</code>, <code>lower_third</code>, <code>bottom_left</code>, <code>bottom_center</code>, <code>bottom_right</code>, <code>bottom_bar</code>, <code>fullscreen_above</code>, <code>fullscreen_below</code><br>
<b>Note:</b> This field is optional, but most modules require this field to be set. Check the documentation of the module for more info.<br>
<b>Note:</b> Multiple modules with the same position will be ordered based on the order in the config file.
</td>
</tr>
<tr>
<td><code>classes</code></td>
<td>Additional classed which are added to the module.
<br><b>Note:</b> This field is optional.
</td>
</tr>
<tr>
<td><code>header</code></td>
<td>To display a header text above the module, add the header property.
<br><b>Note:</b> This field is optional.
</td>
</tr>
<tr>
<td><code>config</code></td>
<td>An object with the module configuration properties. Check the documentation of the module for more info.<br>
<b>Note:</b> This field is optional
</td>
</tr>
</tbody>
</table>
Configuration example: Configuration example: