-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
Some intra-page links don't work #4
Comments
We found two possible cases that produced intra-page links:
|
Hum, there seems to be no automatic way to generate the table of contents. See this. |
Hi @olzama , I fixed the https://github.com/delph-in/docs/wiki/MatrixRegressionTesting using named links |
Emacs is .... always there to save me! Using https://github.com/ardumont/markdown-toc I fixed https://github.com/delph-in/docs/wiki/GrammarPerformance easily. I cloned the wiki, open the MD file, and executed |
@john-a-carroll , just to let you know that I have already fixed the links in https://github.com/delph-in/docs/wiki/LkbInstallation! |
Looks like in markdown, the default link to a subheading will look like this:
So, something like:
will turn into: Perhaps that's better than the |
It depends, in general, I like to have options, so I don't think one is necessarily better than the other. The Emacs package is anyway very useful to generate the ToC. |
Done with Part 1. I actually didn't find any instances to fix in some of the pages, e.g. PetInut, or the last one (VirtualCoordinationComposition). But I fixed what I found. |
I am happy to try but not an emacs user. How do I install the script? I looked at the repo, but the steps there don't start at what would be useful to me (e.g. I don't know where I am supposed to put the script, what I am supposed to open then and where, etc.). |
Emacs 27.X has https://www.emacswiki.org/emacs/InstallingPackages. It is a package manager for Emacs. Using it, I installed the package above with |
It says it can't find it. I am assuming I need to perform some other steps first but I am not sure where :). In... ~/.emacs ? |
I tried also installing from the actual file (using I tried with versions 25 and 27. Maybe it depends on the operating system or something? I have OSX. |
Internal links within a single page don't work if the target contains any non-alphanumeric characters. In such cases the
href
strings in the anchors seem to have been canonicalised using different schemes. E.g. on https://github.com/delph-in/docs/wiki/LkbInstallation:The text was updated successfully, but these errors were encountered: