Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#11016 closed defect (bug) (duplicate)

Readme.txt: Multiple underscores in words

Reported by: scribu's profile scribu Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org Site Keywords:
Focuses: Cc:

Description

This is related to Markdown syntax in plugin readme files.

Specifically, if you write this:

my_function_name()

You get this:

myfunctionname()

This should be fixed.

GitHub has already tackled this problem: GitHub Flavored Markdown

Change History (6)

#1 @filosofo
15 years ago

And reason you can't just put code examples in backticks?

#2 @filosofo
15 years ago

s/And/Any/

#3 follow-up: @sirzooro
15 years ago

+1 for fixing this.

Sometimes it is not natural - example from changelog of Enhanced Meta Widget plugin:

Added German (de_DE) and Danish (da_DK) language files.

renders as:

Added German (deDE) and Danish (daDK) language files.

#4 in reply to: ↑ 3 @demetris
15 years ago

  • Cc dkikizas@… added

Both

a_function_name()

and

Added German (de_DE) and Danish (da_DK) language files.

are handled right by PHP Markdown Extra.

Test here: http://michelf.com/projects/php-markdown/dingus/

Extra also has some nice additions, like support for definition lists, all of which work fine.

Maybe WP.org could switch to Markdown Extra?

#5 @mdawaffe
15 years ago

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

#6 @westi
15 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.