Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#14143 closed feature request (fixed)

Make readme files #hash-URL linkable

Reported by: dphiffer Owned by:
Milestone: WordPress.org Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords: reporter-feedback
Focuses: Cc:


This is a cross-post from the open call for WordPress.org improvements and the thread I started on wp-hackers (Subject: "Plugin readme #section links"). I'm going for maximum visibility here since this is something I need for my JSON API plugin.

Basically I'd like the readme.txt syntax to automatically add id attributes for headings. Something like this:

== Some section ==

Translates into:

<h3 id="Some_section">Some section</h3>

Change History (6)

#1 @dphiffer
5 years ago

  • Cc dan@… added

#2 @dphiffer
5 years ago

  • Type changed from defect (bug) to feature request

#3 @nacin
5 years ago

  • Milestone changed from Awaiting Review to WordPress.org site

#4 @Otto42
5 years ago

  • Keywords reporter-feedback added

I'm confused by this. What h3's are you referring to here? On the plugin page in extend?

#5 @dphiffer
5 years ago

Otto, yes exactly.

Basically I'd like to make this link jump to the "Request arguments" part of the page.

#6 @Otto42
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Seems reasonable enough. Done.

You'll have to actually update the readme.txt before you'll see those appear, but I force updated json-api to make it work there first.

Also, I don't like underscores. So I used dashes instead:


Note: See TracTickets for help on using tickets.