ToC或GitHub Wiki中的边栏 [英] ToC or Sidebar in GitHub Wiki
问题描述
如何在GitHub Wiki中创建ToC或侧边栏菜单?
我看到了一些提及它的消息,gollum后端似乎支持它,但是如何我应该在当前的GitHub项目中做到这一点吗?
这应该最好基于我自动在页面中显示的标题。
这些链接都提到它,但不显示如何操作: /gist.github.com/379469\">https://gist.github.com/379469 - 一些JavaScript hack https://github.com/blog/774-git-powered-wikis-improved - GitHub提到它: GitHub Wiki对脚注和边栏有一些记录功能,这是我们基于git的Wiki作者所熟悉的一些 好。让我看看我是否理解正确: 这个过程是一个痛苦的屁股。我很惊讶这个gollumwiki有任何接受。 另外: How do I create a ToC or a sidebar menu in a GitHub Wiki? I saw some mentions of it and gollum the backend seems to support it, but how do I do it in a current GitHub project? It should best be based on the headers I have in the page automatically. These links all mention it, but do not show how to do it: https://github.com/blog/774-git-powered-wikis-improved - GitHub mentioning it: "GitHub Wikis have a little-documented ability for footers and sidebars, something which some of
our git-based Wiki authors are familiar with. The new Wiki editor gives you limited web-based
editing of the footers and sidebars you have on your site. " Okay. Let me see if I understand this correctly: This process is a pain in the ass. I’m surprised this "gollum" wiki has any acceptance. Also: 这篇关于ToC或GitHub Wiki中的边栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
。 b / b
编辑您网站上的页脚和侧边栏。方案
_Sidebar.md
[[link]]
_Sidebar.md $ c因此$ c>对于所有页面是全局的 。我必须将我的wiki组织到文件夹中,这样我才能为不同的页面定义不同的侧边栏。
_Sidebar.md
[[link]]
for the sidebar_Sidebar.md
is therefore global for all pages. I would have to organize my wiki into folders, so I can define different sidebars for different pages.