Watch 1 Star 0 Fork 0

rocket049 / markdownwebHTMLApache-2.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
直接用markdown文件建立网站的WEB服务器。 spread retract

http://rocket049.cn/

Clone or download
Loading...
README.md

关于 MarkdownWeb

本程序用于建立简单的静态展示网站,直接将Markdown文件翻译成HTML,并且允许使用模板文件md.tpl美化页面。

网站的根目录是files目录,首页是index.md

如果根目录或子目录中有md.tpl文件,会使用目录中的模板文件,否则将使用默认的md.tpl

允许显示一组轮播图片,用ad.json指定图片列表和相应的URL,使用方法参考例子中的md.tplad.js程序的配合方法。

About MarkdownWeb

This program is used to build a simple static display website, translate the 'markdown' file directly into 'HTML', and allow the template file 'md.tpl' to beautify the page.

The root directory of the website is the 'files' directory. The homepage is index.md.

If there is an 'md.tpl' file in the directory (or sub directory), the template file in the directory will be used. Otherwise, the default 'md.tpl' will be used.

It is allowed to display a group of rotation pictures. Use 'ad.json' to specify the picture list and the corresponding 'URL'. Refer to the matching method of 'md.tpl' and 'ad.js' in the example for the usage method.

实例网站文件结构 ( Directory struct of the example web site )

MarkdownWeb/
├── markdownweb
├── ad.json
├── md.tpl
├── files
│   ├── ad.js
│   ├── appimagelauncher.md
│   ├── bei-an.png
│   ├── connpool.md
│   ├── favicon.ico
│   ├── images
│   │   ├── 1.png
│   │   ├── 2.png
│   │   ├── diary.jpg
│   │   ├── res.png
│   │   └── shot.png
│   ├── index.md
│   ├── jquery-3.3.1.min.js
│   ├── mdserv.md
│   ├── md.tpl
│   ├── mdview.md
│   ├── pipeconn.md
│   ├── pluginloader.md
│   ├── rpc2d.md
│   ├── RunOnUbuntu1904.md
│   ├── secret-diary-1206-win32.zip
│   ├── secret-diary.md
│   ├── shipgunner.md
│   ├── style.css
│   └── traycontroller.md

Comments ( 0 )

Sign in for post a comment

HTML
1
https://gitee.com/rocket049/markdownweb.git
git@gitee.com:rocket049/markdownweb.git
rocket049
markdownweb
markdownweb
master

Help Search