Code Monkey home page Code Monkey logo

Comments (3)

Bluscream avatar Bluscream commented on June 9, 2024

Trying to set the config manually to

{
  "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": []
  },
  "separator": "%3A-",
  "linkTemplate": "./%s",
  "menuFile": "_Sidebar.md",
  "multilang": false,
  "menuOnly": true
}

makes the sidebar working, but the pages itself have the undecoded HTML in their title (eg. Tricks%3A Open URLs in myTube)

from github-wiki-sidebar.

tillik avatar tillik commented on June 9, 2024

I still have exactly the same problem, regardless if I try to choose the default (just hitting enter) or manually defining a category separator.
I am always being prompted that "The following characters are allowed a-z#~ @_!".

from github-wiki-sidebar.

jrkarnes avatar jrkarnes commented on June 9, 2024

The - character is reserved by the Github Wiki Pages specification. It is used to denote a whitespace in the name of the page rather than the conventional %20 in HTML.

Therefore you cannot use :- as a separator. You use : as the separator. When you see :- that is read as : by the parser for both the sidebar generator and the github wiki.

from github-wiki-sidebar.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.