Giter Site home page Giter Site logo

xuanqb / alist-html-render Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 2.0 5.92 MB

html、md、pdf预览,自动生成目录

Home Page: https://xuanqb.github.io/alist-html-render/

License: GNU General Public License v3.0

HTML 1.25% CSS 3.94% JavaScript 94.12% Fluent 0.70%
alist geektime javascript vue

alist-html-render's Introduction

简介

html、md、pdf预览,自动生成目录,支持移动端。

实现了一个基于alist API的在线文档预览渲染器网站, 根据文件目录结构自动生成侧边栏,自动记住多目录观看进度,支持预览md > html > pdf, 支持pwa,markdown代码高亮, 前端样式参考mdbook实现

更新记录

2024-03-01:支持多级目录

2024-02-23:支持按照SUMMARY.md对左侧菜单排序

配置

进入网页需要在弹出框输入alist相关配置

专栏位置:专栏在alist的路径 如全路径为http://192.168.123.8:5244/bdyun/html合集,则专栏位置为:/bdyun/html合集, alist地址为http://192.168.123.8:5244

alistToken:alist的token 从路径/@manage/settings/other中的令牌获取

请求中如出现跨域问题,请开启alist的本地代理功能

效果

img.png img.png markdown来源: java-eight-part img.png

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.