Closed Neurrone closed 2 years ago
I think you can achieve this by inserting something like [[TOC]]
somewhere in the markdown file, and hide the right TOC completely, for now.
Or is it OK for you that I provide an option like tocType: 'topOfContent' | 'rightSide' | false
as built-in option?
Apologies for the late reply.
What'd be the behaviour for tocType: 'topOfContent'
? Would it be rendered just between the h1 for the note title and the actual contents?
Apologies for the late reply.
What'd be the behaviour for
tocType: 'topOfContent'
? Would it be rendered just between the h1 for the note title and the actual contents?
I guess so
@Neurrone Sorry for the late response, maybe you had no interest of this anymore. I make a crude version of this feature anyway. The config is slightly different with the disscussion above. See #33 for screenshot and description.
I'd like to be able to have the autogenerated table of contents appear in the text itself rather than on the right