Skip to content

Menu levels incorrect if pages[] has only one input file #15

@aleemb

Description

@aleemb

I have a single markdown file as input and was expecting all the headings in the generated html menu to be at the same level. However, all headings following the first one are nested at level 2 in the menu.

#one

hello

#two

world!

results in

TITLE
  HELLO
     WORLD

Would be great to see support for single pages as well. I am using this for generating HTML from my readme.md and while there are simpler tools for that the output generated by FruitJS is so much cleaner with some good configuration options and extensibility if I ever grow past a single readme.md which I eventually will.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions