Giter VIP home page Giter VIP logo

markdownviewtools's Introduction

MarkdownViewTools

学习springboot时写的一个工具,因为我做接口的经常写文档,改文档,前端每次从svn更新下来很不方便,所以写了一个本地md文档读取展示工具, 前端访问我的ip就能看到相应的文档了

##展示地址

点击查看

##现有功能

  1. 文档多标签展示
  2. toc目录解析
  3. 文档上传与下载
  4. 文本比较工具

##待完成功能

  1. 文档目录缓存,文章本身就在本地,所以不设缓存
  2. word与PDF展示,最终想做一个全能的文档展示系统

##如何使用?

  1. 使用IDEA clone下来
  2. 修改配置文件setting.properties
#markdown文件位置
md.mdpath[0] = E://公司/
md.mdpath[1] = /home/web_as/markdown/doc/

#最大获取目录数
md.maxCount=20

#上传临时目录
md.uploadTemppath=E://temp/

#GZIP过滤后缀
md.filter[0]=*.css
md.filter[1]=*.js
md.filter[2]=*.json
md.filter[3]=*.eot
md.filter[4]=*.svg
md.filter[5]=*.woff
md.filter[6]=*.woff2

#页面缓存url
md.cache[0]=/

#首页欢迎语
md.welecome=#欢迎使用Markdown View Tools
  1. 使用maven打包为jar
  2. 运行java -jar mrdear-1.0.0.jar

效果图如下:

总效果图: 1.jpg

文本比较工具: 2.jpg

文档上传 3.jpg

##关于乱码问题 布置的时候有一台全新的linux环境出现乱码问题,查找原因是系统编码不对导致(关于查看,vi一个中文文件,保存后,ls查看,如果会乱码则配置有问题) 解决就是使用locale -a查看系统支持的编码,然后LANG='该编码',这里要注意大小写,配置中文UTF-8即可.

##更新日志

###2017.1.18

  1. 页面边距调整,目录宽度加大
  2. 新增文件删除功能,对目录无效

####2016.12.20

  1. 前端页面使用layui重新设计
  2. 增加多标签显示,很方便的功能

markdownviewtools's People

Contributors

mrdear avatar

Watchers

James Cloos avatar 张伟 avatar  avatar

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.