Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Gistr

Beschreibung

Gistr allows you to easily embed Gists from GitHub in your WordPress site. Simply enter the Gist ID in the Gistr Post Block and viola! Gistr was developed especially for the Block (Gutenberg) Editor experience in WordPress 5.0+ and will not work if you have disabled it.

Gistr allows you to easily:

*Embed Gist by pasting the Gist ID into the options box (that’s it!)
*Hide/show line numbers
*Highlight rows
*Show all or select line numbers
*Hide Gist footer
*Cache Gists

Gistr is a WordPress Plugin implementation of Gist Embed by Blair Vanderhoof.

Screenshots

  • Example of an embedded Gist
  • Gistr Block in the block editor. Once selected the input area and options will appear
  • View of the Gistr Block when selected. You will paste the Gist ID in the input box as shown.
  • Available options when configuring Gistr

Installation

  1. Upload the plugin files to the /wp-content/plugins/gist directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress
  3. In the post or page editor, add a new block. You will find Gistr in the ‚Embed‘ block section
  4. Paste the Gist ID into the input area of the block.
  5. You can configure the Gist settings in the options area on the right hand side.

FAQ

Where do I find the Gist ID?

The Gist ID is the numbers and letters after the username in the Gist URL. For example, if this is the Gist URL: https://gist.github.com/myusername/774c98e6e6f139091aedf6c18109c335
Then the Gist ID is all the characters after the /myusername/

Rezensionen

14. Juli 2019
Well done - it works! So far the best plug in and I tried lots.. to embed gists. Please do support it in the future.
22. Mai 2019
I love this, thank you! I was looking for something like this, that didn't come bundled with a bunch of other blocks I didn't need. I love the ability to hide the bottom bar, and adjust line numbers / highlights. I used this together with some custom styling to get a nice dark-theme for my snippet embeds.
Alle 2 Rezensionen lesen

Mitwirkende & Entwickler

„Gistr“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „Gistr“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0

  • First stable release