Code Monkey home page Code Monkey logo

markdowdirparsewebsite's Introduction

markdowDirParseWebsite

把存有markdown文件的文件夹变为web端查看的命令行工具

初衷

  • 自己写的一些本地文件,需要频繁跳转目录去查看,体验不佳

  • 推荐markdown给小伙伴,但小伙伴觉得给别人看要转格式,麻烦

用法

  • 初次使用需要:npm install -g markdown-parse-website / yarn global add markdown-parse-website

  • 在目的文件夹下,执行 fileShow parse

  • 浏览器打开 localhost:3000

扩展

默认主题目前很简陋,可以自己编写主题,接口为:

  • http://localhost:port/getTree [method: GET] : 得到所有文件、文件夹的树形列表

  • http://localhost:port/getFileData [method: POST, data: 上面的接口返回的被点击的文件目录] : 获取被“编译”的文件内容

TODO

  • 端口占用检测和更换端口

  • 支持更多的文件格式

  • 在线导出为PDF

  • 文件备份到云端

欢迎star, issue, PR

markdowdirparsewebsite's People

Contributors

cocacolf avatar

Watchers

 avatar

markdowdirparsewebsite's Issues

todoList

  • 端口检测

  • 打印成PDF

  • 更好的样式

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.