This is a module for MagicMirror²
; This module is intended to display markdown files.
In your terminal, navigate to your MagicMirror's modules
directory:
cd ~/MagicMirror/modules/
Clone this repository:
git clone https://github.com/wmawhinney1990/MMM-Markdown
Navigate to the MMM-Markdown folder:
cd MMM-Markdown
Install the dependencies:
npm install
Here is an example usage in the modules array in the config/config.js
file:
{
module: 'MMM-Markdown',
position: 'bottom_third',
config: {
updateInterval: 15 * (60 * 1000), // 15 x (60 seconds)
markdownFilename "filename.md"
}
}
Note: filename.md
shoud be located in MMM-Markdown/markdown/
directory.
Option | Description |
---|---|
updateInterval |
This is the update interval where 1000 = 1 second. Default value: 15 minutes |
markdownFilename |
This is the markdow filename to display located MMM-Markdown/markdown/filename.md .Default value: This README.md file :P |
For updates to this module, navigate to your MMM-Markdown directory
cd ~/MagicMirror/modules/MMM-Markdown
Pull the latest changes
git pull
MagicMirror²: MagicMirror²