这是PascalCase: SomeSymbol
这是camelCase: someSymbol
这是snake_case: some_symbol
所以我的问题是,是否有这个被广泛接受的名字:some-symbol?它常用于网址.
是否有相应的markdown语法:
Take me to <a href="#pookie">pookie</a>
...
<a name="pookie">this is pookie</a>
Run Code Online (Sandbox Code Playgroud) 我正试图找出如何使用Markdown引用页面的另一个区域.如果我添加一个,我可以使它工作
<div id="mylink" />
Run Code Online (Sandbox Code Playgroud)
并为链接做:
[My link](#mylink)
Run Code Online (Sandbox Code Playgroud)
但我的猜测是,还有一些其他方法可以在Markdown中执行不涉及直接div标记的页内链接.
有任何想法吗?
如果你看这里:http://en.wikipedia.org/wiki/Stack_Overflow
您会注意到有一些"内容"部分,如果您点击其中一个链接,它会将您发送到页面上的特定部分.
我如何在GitHub wiki中执行此操作?使用Markdown或他们使用的任何东西?
假设我在同一个git hub wiki页面中有两个点,为此我们将调用place 1它place 2.
##Title
###Place 1
Hello, this is some text to fill in this, [here](place2), is a link to the second place.
###Place 2
Place one has the fun times of linking here, but I can also link back [here](place1).
Run Code Online (Sandbox Code Playgroud)
另一种选择是ToC.
##Title
[ToC]
###Place 1
###Place 2
Run Code Online (Sandbox Code Playgroud)
有没有办法做到这一点?注意 - 看到这个,所以我会假设它是关于主题的.此外,它处理文件之间的转换,这个处理在同一文件之间进行.
您可以很容易地链接到 Markdown 中的锚标题。
[link to anchor heading](#background)
大量的 stackoverflow 问题都涉及到它,例如 this one或 this one。
但我似乎无法找到一种方法来链接到共享相同名称但位于不同部分的锚点。
例如,我无法链接到不同部分中的背景部分。
[link to database background](#database#background)
而不是说:
[link to front end background](#front-end#background)
这也不起作用。
[link to database background](#database##background)
我希望降价锚链接遵循指定的部分路径。这不可能吗?还是我使用了错误的语法?
因此,有很多关于在markdown中创建锚点以及在笔记本中创建内部表格内容类型锚点的内容.我需要的是能够从外部源访问Github笔记本中的锚点,例如:
https://github.com/.../mynotebook.ipynb#thiscell
Run Code Online (Sandbox Code Playgroud)
我有这样一些托管的交互式教程,还有一本我希望能够链接到笔记本部分的手册.我可以使用以下方法将锚标记添加到markdown单元格中:
<a id='thiscell'></a>
Run Code Online (Sandbox Code Playgroud)
但是当我尝试使用上面写的链接时,它只是将笔记本加载到顶部,就像没有引用锚一样.