Coder Social home page Coder Social logo

Comments (9)

Ptrph avatar Ptrph commented on June 27, 2024 1

Hello,
For future information or if anyone still looking for the same issue, I found this. It works for me.
(I just had to delete the comma after “false” or I had a “bad json” warning.)

from ep_table_of_contents.

fwolfst avatar fwolfst commented on June 27, 2024 1

Put the following in settings.json:

"ep_toc": {
  "disable_by_default": false
},

from ep_table_of_contents.

x8-999-github avatar x8-999-github commented on June 27, 2024

Hi,

I am looking for the same. Having had a quick look at the code I do not thinks this is currently possible but of course should not be to hard to fix.

One thing i "discovered" is that you can set toc=true in the url param to enable the toc
e.g. myurl/p/Item?toc=true

from ep_table_of_contents.

guakamole avatar guakamole commented on June 27, 2024

Hello,

Thank you for this great extension 👍

Same question here, is there a way to display the ToC by default for all the pads without having to provide a URL ending with ?toc=true ?

from ep_table_of_contents.

diesocke avatar diesocke commented on June 27, 2024

I put it at the end of the settings.json. If I save from the admin settings, I get a warning: "YOUR JSON IS BAD AND YOU SHOULD FEEL BAD." If I change the file via FTP it doesn't even display the contents of the file anymore, until I reverse it.

from ep_table_of_contents.

JohnMcLear avatar JohnMcLear commented on June 27, 2024

@diesocke remove the trailing , and before you submit your JSON run it through a JSON validator. TLDR is you suck at JSON yea you totally suck :D

Seriously tho, it's hard/fiddly for a newcomer to understand JSON but once you get it, it's easy.... <3

from ep_table_of_contents.

diesocke avatar diesocke commented on June 27, 2024

I got it working. At least, there is now a tab called "Gliederung" (which is "structure" in German). How do I mark headings to be displayed there?

from ep_table_of_contents.

JohnMcLear avatar JohnMcLear commented on June 27, 2024

@diesocke ?? click that select, click an option in that select, they will show up in TOC on the left...

from ep_table_of_contents.

diesocke avatar diesocke commented on June 27, 2024

image

Which select? I cannot see any, even if I mark some content.

from ep_table_of_contents.

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.