Skip to content

Cannot start filenames with numbers #16

Description

@Hugo-COLLIN

All markdown files beginning with a number are not added to the sidebar when generated. Seems it cannot be solved in the "menu" configuration.

options.json:

{
  "menu": {
    "item": "{{#levelRepeat}}  {{/levelRepeat}}* [[{{{title}}}|{{{link}}}]]\n",
    "category": "{{#levelRepeat}}  {{/levelRepeat}}* {{#link}}[[{{{title}}}|{{{link}}}]]{{/link}}{{^link}}{{{title}}}{{/link}}\n{{{subitems}}}",
    "category-1": "{{{subitems}}}\n"
  },
  "rules": {
    "exclude": [],
    "order": [
      "Home.md"
    ]
  },
  "separator": "_",
  "linkTemplate": "%s",
  "menuFile": "_Sidebar.md",
  "multilang": false,
  "menuOnly": true
}

File tree (markdown files):

Home
1-Le Dépôt_1-Backend_Outils tiers utilisés
I-Le Dépôt
I-Le Dépôt_1-Backend_Utiliser les services
2-Le Wiki

Terminal:

$ github-wiki-sidebar --silent
//-- github-wiki-sidebar: enquire mode

_Sidebar.md generated.

//-- Job completed.

Generated _Sidebar.md:

  * [[Home|Home]]
  * [[I Le Dépôt|I-Le Dépôt]]
    * 1 Backend
      * [[Utiliser les services|I-Le Dépôt_1-Backend_Utiliser les services]]


[//]: # (generated by https://www.npmjs.com/package/github-wiki-sidebar)

P.S.: @adriantanasa This project is still useful, please make it up to date.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions