We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be great to add a click to create an anchor link to link to subsections. Here's an example:
I would love it if you could click on the ##Setup and get an anchor link like: https://swsmith.cc/posts/cost-explorer-pcluster.html#setup
##Setup
The id is already setup so the only feature is to add this as a link to any headers in markdown.
The text was updated successfully, but these errors were encountered:
Ok, I can get the behaviour I want with:
{{< rawhtml >}} <a href='#setup'><h2>Setup</h2></a> {{< /rawhtml >}}
Instead of:
## Setup
Obviously it would be ideal if this was done at the markdown layer so I don't have to go through and change all my section headers.
Any pointers on how to do that? Basically override the rendering of h1,h2,h3... headers to render as a link
h1,h2,h3...
Sorry, something went wrong.
Ok I implemented this on my site using some custom js, this looks like:
Example: https://swsmith.cc/posts/efa-best-practices.html#what-version-is-best
The code looks like:
sean-smith/swsmith.cc@ea2ac86
If anyone is interested I'll open a pull request to contribute this back upstream.
No branches or pull requests
Would be great to add a click to create an anchor link to link to subsections. Here's an example:
I would love it if you could click on the
##Setup
and get an anchor link like: https://swsmith.cc/posts/cost-explorer-pcluster.html#setupThe id is already setup so the only feature is to add this as a link to any headers in markdown.
The text was updated successfully, but these errors were encountered: