Title: GitHub Gist WordPress Plugin
Author: jingweno
Published: <strong>30 juli 2010</strong>
Last modified: 22 september 2010

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/github-gist.svg)

# GitHub Gist WordPress Plugin

 Av [jingweno](https://profiles.wordpress.org/jingweno/)

[Ladda ner](https://downloads.wordpress.org/plugin/github-gist.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/github-gist/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/github-gist/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/github-gist/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/github-gist/#developers)

 [Support](https://wordpress.org/support/plugin/github-gist/)

## Beskrivning

GitHub Gist WordPress Plugin allows you to embed [GitHub Gist](http://gist.github.com)
snippets with a [gist] tag, instead of copying and pasting HTML. For example, to
embed the [github_gist_wordpress_plugin_test.txt](http://gist.github.com/447298.js?file=github_gist_wordpress_plugin_test.txt)
file from [gist: 447298](http://gist.github.com/447298.js), fill in the id and file
attributes in the [gist] tag:

[gist id=447298 file=github_gist_wordpress_plugin_test.txt]

or

copy the embedding JavaScript code from GitHub and directly paste it in the body
of the [gist] tag:

[gist]`<script src="http://gist.github.com/447298.js?file=github_gist_wordpress_plugin_test.
txt"></script>`[/gist].

The [gist] tag also expands the content of the embedded Gist and wraps it with ”`
<noscript><code><pre>`” so that search engine spiders, users with javascript disabled
and users reading your blog through RSS will still see your code in a blog entry.

## Skärmdumpar

[⌊With JavaScript On⌉⌊With JavaScript On⌉[

With JavaScript On

[⌊With JavaScript Off⌉⌊With JavaScript Off⌉[

With JavaScript Off

## Installation

1) Download the plugin zip file.

2) Unzip.

3) Upload the github_gist_wordpress_plugin directory to your wordpress plugin directory(/
wp-content/plugins).

4) Activate the plugin.

5) Use the [gist] tag in your posts or pages

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”GitHub Gist WordPress Plugin” är programvara med öppen källkod. Följande personer
har bidragit till detta tillägg.

Bidragande personer

 *   [ jingweno ](https://profiles.wordpress.org/jingweno/)

[Översätt ”GitHub Gist WordPress Plugin” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/github-gist)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/github-gist/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/github-gist/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/github-gist/) via [RSS](https://plugins.trac.wordpress.org/log/github-gist/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0

 * quote a Gist with id and file attribute.
 * quote a Gist with the embedded JavaScript code.
 * expand a Gist’s content and wrap it with `<code>`

#### 1.1

 * fixed margin of the display when JavaScript is disabled.
 * added branding information.

## Meta

 *  Version **1.1**
 *  Senast uppdaterat **16 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 2.5.1 eller senare **
 *  Testat upp till **3.0.5**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/github-gist/)
 * Etiketter
 * [embed](https://sv.wordpress.org/plugins/tags/embed/)[Gist](https://sv.wordpress.org/plugins/tags/gist/)
   [git](https://sv.wordpress.org/plugins/tags/git/)[Github](https://sv.wordpress.org/plugins/tags/github/)
   [shortcode](https://sv.wordpress.org/plugins/tags/shortcode/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/github-gist/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/github-gist/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/github-gist/reviews/)

## Bidragande personer

 *   [ jingweno ](https://profiles.wordpress.org/jingweno/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/github-gist/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://owenou.com)