Giter Site home page Giter Site logo

Comments (7)

TevinLi avatar TevinLi commented on May 10, 2024 1

已经于 v0.7.4 添加以上功能,目录现在可以有三种选择

from amwiki.

kin9-0rz avatar kin9-0rz commented on May 10, 2024

感觉直接解析 [TOC] 标签会更好,这样,就不需要手工去生成这个页内目录了。

from amwiki.

TevinLi avatar TevinLi commented on May 10, 2024

[TOC] 标签是一个很好的实现目录的方式,当初是考虑到与 github 文档兼容问题而采用了的直接生成目录,后面打算这样支持:

  • 可以 “直接生成目录”
  • 可以用 [TOC] 标签 指定需要创建目录及创建的位置
  • 在右侧“返回顶部”按钮上方较靠近的位置,新增一个悬浮栏位,鼠标悬浮或点击后显示目录
    (文档较长时比较有用)

这样,对任意文章就可以有三种目录方式提供选择,同时也便于和市面上各大平台兼容

from amwiki.

kin9-0rz avatar kin9-0rz commented on May 10, 2024

第三点很不错,期待更新。:smile:

from amwiki.

kin9-0rz avatar kin9-0rz commented on May 10, 2024

@TevinLi 0.7.5更新了,但是,貌似不支持TOC。
我直接将[TOC]放在文档的最前面,好像不行。
请问下,怎么用?

from amwiki.

TevinLi avatar TevinLi commented on May 10, 2024

是不是没有更新项目的文件,在 Atom 中更新只是更新了插件哦,需要从 config.json 重新创新才会重新输出你自己项目下的 web 端工作的 js、css 等资源

from amwiki.

kin9-0rz avatar kin9-0rz commented on May 10, 2024

确实,可以了。多谢。

from amwiki.

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.