node-blog:使用Node.js的简单博客引擎

时间:2021-05-18 08:02:46
【文件属性】:
文件名称:node-blog:使用Node.js的简单博客引擎
文件大小:117KB
文件格式:ZIP
更新时间:2021-05-18 08:02:46
JavaScript 一个使用Node.js的简单博客引擎 笔记 目前,该项目只是一个原型。 我真的很开心构建它。 要求 设置自己的Node.js服务器。 将此仓库克隆到本地git。 启动服务器并运行。 我们需要它来将markdown内容解析为html并发送到前端。 node path/to/md2html/parser.js 我个人使用的是 。 pm2 start path/to/md2html/parser.js 构成 与您心爱的降价。 > cd /path/to/posts > vim my-first-post.md > # Hello world! > :wq > git add my-first-post.md > git commit -m " first post using this simple blog engine " > git push 闪耀着你可爱的话。
【文件预览】:
node-blog-master
----index.html(1KB)
----index.css(1KB)
----config.js(135B)
----js()
--------site.js(263B)
--------main.js(2KB)
--------header.js(203B)
--------sea-modules()
--------settings.js(312B)
----md2html()
--------config.js(489B)
--------parser.js(1KB)
--------error-0.log(460B)
--------node_modules()
----posts()
--------test-post-one.md(26B)
--------一种记录更新时间的方法.md(802B)
--------最近的一些更新.md(276B)
--------域名被盗.md(1KB)
--------终于把新电脑扔出蔷外.md(36B)
--------最近联通特别慢.md(838B)
--------重构了前端代码.md(590B)
--------快被history绕晕了.md(2KB)
--------中文.md(37B)
--------逗比的人生无法解释.md(2KB)
----LICENSE(1KB)
----README.md(755B)
----.gitignore(21B)

网友评论