Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start filenames with numbers #16

Open
Hugo-COLLIN opened this issue Jan 14, 2024 · 0 comments
Open

Cannot start filenames with numbers #16

Hugo-COLLIN opened this issue Jan 14, 2024 · 0 comments

Comments

@Hugo-COLLIN
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant