markdown技术文档服务器,markdownweb

关于 MarkdownWeb

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

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

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

允许显示一组轮播图片,用ad.json指定图片列表和相应的URL,使用方法参考例子中的md.tpl和ad.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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值