[wp-meta] [Making WordPress.org] #5895: Add markdown validation to the readme validator

Making WordPress.org noreply at wordpress.org
Fri Sep 10 13:03:32 UTC 2021

#5895: Add markdown validation to the readme validator
 Reporter:  zodiac1978     |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:
Component:  Developer Hub  |   Keywords:  needs-patch
 There is a Readme validator on wordpress.org:

 But this is only checking for the readme standard:

 And not for the markdown.

 If a plugin is for example omitting the “closing” of the title markdown,
 writing `= V3.9.2 - 04.07.2021` instead of `= V3.9.2 - 04.07.2021 =` the
 validator wouldn't mark this with an error or warning or note.

 Although it would help to show a preview (see:
 https://meta.trac.wordpress.org/ticket/2538), maybe we could validate
 markdown additionally.

 There are some PHP markdown parser, but I am not sure if there are
 validators (or if those parser can be used for validating):

 If we have a plugin/library for this it could be used in Github actions or
 other test environments before deployment to wordpress.org. Or we could
 maybe add this check to the pre-commit hook, so we can reject committing
 wrong formatted Readmes.

 Thanks to @dd32, @clorith an @ocean90 for the help on Slack about this

Ticket URL: <https://meta.trac.wordpress.org/ticket/5895>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list