Giter Club home page Giter Club logo

Comments (10)

gaoryrt avatar gaoryrt commented on July 22, 2024 3

image

from hexo-theme-pln.

gaoryrt avatar gaoryrt commented on July 22, 2024 1

暂时没有支持目录的想法。。。
@JayceLau @pingeek007

from hexo-theme-pln.

navono avatar navono commented on July 22, 2024 1

@gaoryrt 有思路吗?说说思路,我看下我能不能搞出来。

from hexo-theme-pln.

pingeek007 avatar pingeek007 commented on July 22, 2024

同意!好像确实没看见TOC

from hexo-theme-pln.

navono avatar navono commented on July 22, 2024

找到一个比较挫的方法,在article.ejs中加入

<%- toc(page.content) %>

唯一的问题就是,这个toc是显示在文章顶部,往下拉的时候就不见了。最好的效果是显示在左侧。

要显示在左侧就需要跟右侧显示的那个一样,需要写css,这个还不是太懂。

from hexo-theme-pln.

gaoryrt avatar gaoryrt commented on July 22, 2024

@navono 问题就是不晓得目录放在哪里比较好看。。。

from hexo-theme-pln.

navono avatar navono commented on July 22, 2024

@gaoryrt 左侧嘛。放左侧需要和关闭按钮重新设计一下。如果硬塞进去会和关闭按钮有点格格不入。

from hexo-theme-pln.

navono avatar navono commented on July 22, 2024

或者在关闭按钮下面再弄个nav按钮,点击从左侧动态弹出显示toc。可以浮动。

from hexo-theme-pln.

pwxcoo avatar pwxcoo commented on July 22, 2024

同,希望开发者有空能一个toc模块,不是固定也ok

from hexo-theme-pln.

gaoryrt avatar gaoryrt commented on July 22, 2024

做了个临时版的,有问题的话就新开 issue 吧

首页有如何更新

@JayceLau @pingeek007 @navono @pwxcoo @willmasters

from hexo-theme-pln.

Related Issues (20)

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.