Skip to content

issues Search Results · repo:JS-DevTools/rehype-toc language:JavaScript

Filter by

11 results
 (66 ms)

11 results

inJS-DevTools/rehype-toc (press backspace or delete to remove)

I don t like table of contents at the very beginning of a document. Rather it should be possible to place it at a specific position - e.g. following an introduction or at the very end of a document. remark-toc ...
  • mmoser18
  • Opened 
    on Jul 23, 2024
  • #15

I m wondering if I m doing something wrong here. The output of rehype-toc seems to be structured in a weird way. Using rehype-toc, given the input .svx file: # First Header Hello world! ## Second Header ...
  • codevogel
  • 2
  • Opened 
    on Apr 7, 2024
  • #14

Currently you can customize the installation to hide the table of contents if there are no items by doing this: customizeTOC: (toc) = { if (toc.children[0].children.length 0) { return toc; ...
  • ZachSaucier
  • Opened 
    on Nov 7, 2023
  • #13

I m creating a blog using NextJs13 and MDX, I have added a table of contents to my pages using rehype-toc. I want the table (so element) to be outside the article element, to do this I tried to use the ...
  • Samuele1818
  • Opened 
    on Aug 8, 2023
  • #12

Thanks for this awesome plugin, and I m trying to wrap a motion.div for created TOC, but for some reason, It seems does not support the feature. Here is my related code: ..... interface NodeTree { type: ...
  • joisun
  • Opened 
    on Jul 27, 2023
  • #11

The shape of the node object passed to customizeTOC doesn t match the Node interface as specified by the latest version of unified. This is what the plugin is passing: { type: element , tagName: ...
  • shellscape
  • 1
  • Opened 
    on May 10, 2022
  • #9

I would like to extract the TOC without injecting it back so I can have a bit more control of what to do with it. Primarily the rendering of such content will be completely out of the element that renders ...
  • yordis
  • 2
  • Opened 
    on Oct 31, 2021
  • #8

Hi! Thank you for your work on this library, I just implemented it in the next version of my personal website/blog to generate a TOC for my blog posts since my previous library of choice was coupled to ...
  • ghost
  • 6
  • Opened 
    on Oct 23, 2021
  • #7

Hi, could you please add an option to config where it builds TOC using ul instead of ol.
  • GorvGoyl
  • 2
  • Opened 
    on Oct 11, 2021
  • #6

For people who want logic similar to this project, but want the ability to further customize how the table is rendered, here is a simple ReScript implementation of similar heading gathering logic based ...
  • ghost
  • Opened 
    on Apr 27, 2021
  • #5
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub