Skip to content

OfficialJavaScript/mdvwr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Have you ever wanted to view your own MD files remotely?

Upload them to MD Viewer, where they are converted to HTML files, and viewable with a quick link.

What is MDVWR?

Well MDVWR means Markdown Viewer.

It allows you to upload any MD file to the website, it will convert it and store it as a HTML file in the templates directory.

Once you upload the file and it is converted, you get redirected to your HTML file hosted on your mdvwr instance.

In the URL you can copy the code after /load/ and you can place this in the quick and easy downloader on the main page.

Setup

Prerequistes: Python3, Pip and pandoc.

Firstly, you will need to install Pandoc, here are some instructions.

Next, you will need to run pip install -r requirements.txt

Then, as long as you have nothing else running on port 80, run python main.py and head to one of the displayed links.

How do I stop it from deleting my MD file after conversion?

Enter main.py, you will see a constant (variable) named 'DELETEMD', set this to False to stop this.

If this is set to false, you will be able to download your md files by entering the same ID as earlier followed by .md (no spaces) - for example: 8MFbLQq3I05CToC2wZFr.md

Credits

Thanks to Copilot for making the home page look good.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published