Skip to content

jossryan/Flatfile-Markdown-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flat File Markdown Server

This website works dynamically per directory structure of markdown/. Any directory that you create in markdown/ will create a submenu and any markdown (.md) files will be served as pages and be listed in their appropriate subfolders.

Traditional Markdown

Your usual markdown language is rendered normally. All markdown is rendered using Marked.js and Strapdown.js.

class node:
    def __init__(self, data = None, next = None):
        self.data = data # this contain the node data
        self.next = None # this is the referende to the next node
    def __str__(self):
        return '[' + str(self.data) + ']'

Installation

To get started, run the upgrade script. You may need to give it execute permissions.

chmod a+x upgrade.sh
./upgrade.sh

Lastly

You can modify some customization settings in /opt/md2html_jn/cache/config.ini
The theme_mode options are default (light) or inverse (dark) -- your usual Bootstrap navbar themes.