GithubHelp home page GithubHelp logo

Comments (5)

sergiocorreia avatar sergiocorreia commented on May 30, 2024 1

Brainstorming a bit:

  1. The content generator is not generating the ToC because the --standalone option is missing.
  2. Thus, running pandoc again creates a nice ToC wrapped in <div id="TOC">
  3. Now, we would need to show the div on the left side with position: absolute, and if the screen if small enough, use display: none.
  4. To determine whether the screen is small enough, something like this should work: @media all and (max-width: 600px) { div#TOC { ... } }.

from pep8.org.

kennethreitz avatar kennethreitz commented on May 30, 2024

Ooh, that'd be fancy. I think I technically know how to pull this off, but it would be a huge struggle.

Any takers? I'll give you cake! 🍰

from pep8.org.

kennethreitz avatar kennethreitz commented on May 30, 2024

@sergiocorreia correct, I experimented with --standalone but wasn't happy with its behavior. All the links are present, though, so we could take that section of the output and play with it.

The output of that command has been heavily modified, for presentation.

from pep8.org.

boegel avatar boegel commented on May 30, 2024

+1 for this request, it would greatly improve the usability of this page!

from pep8.org.

FichteFoll avatar FichteFoll commented on May 30, 2024

Added in #6.

from pep8.org.

Related Issues (12)

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.