Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Github README

Description

Github README is a plugin that allows you to embed markdown from GitHub in a page or post using a simple shortcode.

Usage:

github_readme

This shortcode embeds the project’s readme.

[github_readme repo= »octalmage/Marknote »]

You can also trim lines from the top of the readme using the « trim » option:

[github_readme repo= »octalmage/Marknote » trim= »3″]

This is useful for removing titles since your page/post will most likely already have one.

github_markdown

This shortcode embeds any markdown file found in the repository.

[github_markdown repo= »octalmage/Marknote » file= »README.md »]

trim, branch, and cache (seconds to cache) also supported.

github_wikipage

This shortcode embeds pages from a project’s wiki.

[github_wikipage repo= »octalmage/Marknote » page= »Syntax »]

trim and cache also supported.

Avis

2 janvier 2017
As described... it work fine and very well! One suggestion: from the guide https://guides.github.com/features/mastering-markdown/ the relative images are resolved with absolute path on the github repository.
Lire les 4 avis

Contributeurs/contributrices & développeurs/développeuses

« Github README » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Github README » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

0.2.0

  • Improved markdown rendering with MarkdownExtra.

Special thanks to nlenkowski!

0.1.1

  • Add « cache » attribute to the github_readme shortcode.
  • Add « branch » attribute to the github_readme shortcode.
  • Add the ability to use the shortcode_atts_{$shortcode} filter.
  • Fix transients so they are properly referenced when attributes are changed.

Special thanks to ianmjones!

0.1.0

  • Added new github_markdown and github_wikipage shortcodes (thanks olensmar!).

0.0.3

  • Fixed plugin name.

0.0.2

  • Fixed plugin header.

0.0.1

  • First Version. Stable so far!