Now you can add links to the bottom of your table of contents!
Documentation has also been changed to reflect this new
feature.
Please note that if you have a custom variables.scss, you'll have
to merge in this line:
$nav-footer-border-color: #666;
Now, if no languages are specified, the language selection bar simply doesn't appear.
It has also been renamed from "languages" to "language_tabs".
Additionally, now language names default to the markdown name. They can still be overridden by the languagename:Display Name syntax.
This commit has two benefits:
- Now, copying the URL will actually copy the current language as well. You don't need to think to add a language
- If a language moves objects on the page down, the tocify header location cache will not be invalid, since it is generated on page load. Therefore, if code moves some elements down, since the page is reloaded, the cache will also be regenerated, to reflect the real locations of the headers.