Giter VIP home page Giter VIP logo

Comments (8)

krzysztof-jusiak avatar krzysztof-jusiak commented on July 22, 2024

Thanks, @claremacrae for pointing that out.

Fixed by c74fb33

from ut.

claremacrae avatar claremacrae commented on July 22, 2024

Thanks @krzysztof-jusiak - having seen the result, I think it would really benefit from a table of contents now, ideally including levels 1 and 2, so users can quickly see the structure, and still jump to bits they are interested in.

from ut.

claremacrae avatar claremacrae commented on July 22, 2024

I don't really understand the intention of 02ca5a4 - but it seems to have reverted the fix for this issue - almost all the sections are closed again, as far as I can see, so I think this issue should be re-opened.

from ut.

claremacrae avatar claremacrae commented on July 22, 2024

Here are some examples of tables of contents in Markdown pages - so the full text is searchable on the page, and users can quickly see the structure and type of content, and also jump to a particular section very quickly:

from ut.

claremacrae avatar claremacrae commented on July 22, 2024

I don't really understand the intention of 02ca5a4

Ah right, now I understand - it has almost reverted to the original behaviour, but it has opened the sections that have sub-sections...

So users can see the sub-section titles, but the original issue of not being able to search the whole page (unless you expand every single section and sub-section) has returned.

from ut.

claremacrae avatar claremacrae commented on July 22, 2024

What's the benefit of the expanding sections?

Could they be replaced with a traditional <h1>, <h2> etc, with a <ul> for Table of Contents at the top?

from ut.

krzysztof-jusiak avatar krzysztof-jusiak commented on July 22, 2024

Thanks for your input @claremacrae.

Yeah, I'm still experimenting with it with the following goals in mind 🤔

  • Easy to search (basically one page, it's usually more difficult to find things where they are spread around multiple Markdown files)
  • Easy to navigate (:new: top menu)
  • Easy to hide details (sections)

I pushed a change to expand all sections (they can still be collapsed) and added a top menu.

from ut.

claremacrae avatar claremacrae commented on July 22, 2024

I pushed a change to expand all sections (they can still be collapsed) and added a top menu.

I like it!!!

from ut.

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.