mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2025-07-26 07:55:22 -04:00
introducing: minimal mistakes
This commit is contained in:
parent
0c0e191d72
commit
3db2701e10
766 changed files with 41906 additions and 1080 deletions
|
@ -0,0 +1,10 @@
|
|||
_id: 9b722860-26dc-11e7-ba90-7b0064600583
|
||||
message: >-
|
||||
Is there a way to have a sidebar link jump to a particular part of the current
|
||||
page? I have a long post that I want to let a viewer jump to different parts
|
||||
without creating separate pages.
|
||||
name: Josh
|
||||
email: b1d267b408432e054759f6b16d4ff24b
|
||||
url: 'https://stregerdev.github.io'
|
||||
hidden: ''
|
||||
date: '2017-04-21T21:51:00.487Z'
|
|
@ -0,0 +1,7 @@
|
|||
_id: 23c51da0-26e0-11e7-ba90-7b0064600583
|
||||
message: "@Josh Kramdown auto creates id's on all of your page headlines in a post which you could use for this purpose. If you look at the source on [this page](https://mmistakes.github.io/minimal-mistakes/markup/markup-html-tags-and-formatting/) you'll see what I mean. For example the first heading named **Header one**:\r\n\r\n```html\r\n<h1 id=\"header-one\">Header one</h1>\r\n```\r\n\r\nIf you added `url: \"#header-one\"` to your sidebar nav YAML it would jump to that anchor because of what is set on the `id` attribute.\r\n\r\nYou can also insert your own anchors with `<a name=\"whatever-you-want\">` and target the same way... `#whatever-you-want`.\r\n\r\nThere's also several JavaScript solutions out there to things like this too."
|
||||
name: Michael Rose
|
||||
email: 1ce71bc10b86565464b612093d89707e
|
||||
url: 'https://mademistakes.com'
|
||||
hidden: ''
|
||||
date: '2017-04-21T22:16:17.691Z'
|
Loading…
Add table
Add a link
Reference in a new issue