GithubHelp home page GithubHelp logo

miltosc / markdowncms Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 2.0 1.23 MB

Quickly edit your markdown files and create a small static html site from multiple markdown files for easy reading, editing and portability.

License: GNU General Public License v3.0

HTML 26.21% JavaScript 52.02% CSS 7.88% PHP 13.87% Makefile 0.02%

markdowncms's Introduction

markdownCMS

Create a small static html site from multiple markdown files for easy reading , editing and searching.

https://github.com/miltosc/markdownCMS

#Screenshots

screenshot of UI

#Configuration

Change "web-app\main_files\config.php" to edit your markdown files.

You can add as many files you wish from different directories, from anywhere your php installation has access.

The generated html output goes to the folder "html-output" and your original folders and markdown files remain untouched.

All you need is just PHP and a Web server.

No DB is used, just plain text files, html and markdown.

#Features

  • created html files are saved in "html-output". You can copy that folder and inc folder anywhere you want to have an html portable version of your notes.

  • Automatically creates menu of all headings that use markdown symbol "#" at the top of the resulted html file without adding the code to your original markdown files. So markdown files remain untouched but in the html preview you have a nice convenient menu.

  • Clicking the option "Recreate all html files and main menu" creates an extra file with all files menus and you can browse all your html output as a portable html website by clicking the option "Main Navigation menu".

  • Easily copy to your clipboard any code block for further proccessing with your favourite editor.

  • At your right, each text that is selected, pops up "Edit here" button that searches for that text in the editor at your left. Click multiple times the button to go to the next occurence in the editor if there are multiple.

  • Search for a term through all your html output files and the menus created.

  • Easily search your favourite files list.

  • When you reopen a file the editor and output remembers the cursor and scroll position you where last time for quick editing and preview.

  • Choose between simple or rich editor and it will remember each editor's cursor position.

  • keeps backup of every file you change in the last N days in folder "tmp_backup_files".

#Notes For those who use older version just run "Recreate all html files and main menu" from the menu at the header and will recreate correctly all the static website.

Any recommendations bug reports etc are welcome. Keep in mind that this project created for my own personal use since i did not found something similar open source and self hosted solution.

#Credits I used the following projects and you will find them in my files.

erusev's parsedown https://github.com/erusev/parsedown

erusev's parsedown-extra https://github.com/erusev/parsedown-extra

cdolivet's EditArea https://github.com/cdolivet/EditArea

madrobby's keymaster https://github.com/madrobby/keymaster

jcubic's jquery.splitter https://github.com/jcubic/jquery.splitter

Thanks to all of you folks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.