Skip to content

wilfullyapt/MMM-Markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicMirror² Markdown module

This is a module for MagicMirror²; This module is intended to display markdown files.

Installation

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

Configuration

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.

Configuration options

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

Updating

For updates to this module, navigate to your MMM-Markdown directory

cd ~/MagicMirror/modules/MMM-Markdown

Pull the latest changes

git pull

Credits

MagicMirror²: MagicMirror²

About

Display markdown files on your MagicMirror

Topics

Resources

License

Stars

Watchers

Forks