WordPress.org

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:

Description

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)

comment:1 @dphiffer5 years ago

  • Cc dan@… added

comment:2 @dphiffer5 years ago

  • Type changed from defect (bug) to feature request

comment:3 @nacin5 years ago

  • Milestone changed from Awaiting Review to WordPress.org site

comment:4 @Otto425 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?

comment:5 @dphiffer5 years ago

Otto, yes exactly.

Basically I'd like to make this link jump to the "Request arguments" part of the page.
http://wordpress.org/extend/plugins/json-api/other_notes/#3._Request_arguments

comment:6 @Otto425 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:

http://wordpress.org/extend/plugins/json-api/other_notes/#3.-Request-arguments

Note: See TracTickets for help on using tickets.