No Anchor Support on Wiki pages
|Assignee:||Jean-Philippe Lang||% Done:|
I'd like to be able to use anchor links on a wiki page. For example, I'd like to be able to use the wiki pages for a Glossary type page, with A-Z links at the top, linking to sections below.
#1 Updated by Chris Miller about 9 years ago
This looks more like a feature request than it does a defect.
In case you haven't noticed, wiki pages already have limited anchors in them. the
h2., and then
h3. headings all create small anchors in the page. Unfortunately they're all numbered, and they don't have a fade-in paragraph symbol (like in the Trac wiki) to demonstrate that the anchors really do exist.
In Firefox, select a heading, right click and from the context menu choose
View Selection Source. You should see the HTML code for that specific heading. You'll notice it's also an <a name="1" class="wiki-page"></a> right before the rest of the text for the header. You can use that to link to various locations on the page. I do not remember the wiki syntax to link to a section inside of a page, but if I remember correctly there is some to do just that.
#2 Updated by Jean-Philippe Lang about 9 years ago
- Status changed from New to Closed
- Target version set to 0.8
- Affected version (unused) deleted (
- Resolution set to Fixed
- Affected version deleted (
#4 Updated by Tomas Pospisek about 9 years ago
- Status changed from Closed to Reopened
- Assignee set to Jean-Philippe Lang
I don't see documented anywhere, how one goes about using the implemented anchors. Therefore I am reopening this issue and am proposing to document the new feature in order for it to become usable by Joe User.
If you feel this is inapropriate or the feature is allready documented then please close this bug again and forgive my offense.
In the case of the feature allready being documented, then please paste the URL into the note field so that interested parties can find the docu.
#5 Updated by Tomas Pospisek about 9 years ago
Attached a docu patch.
The path comes in two parts. The first fixes the most bizarre formatting of the html file:
- replace all tabs by four spaces
- fix bizarre indenting
- replaces numeric codes by the respective ASCII characters, where apropriate
- remove superfluous CodeRay css definitions
The second part on top of the previous patch documents the new anchors syntax.
Please let me know if you don't want the formatting patch and want the docu patch only.