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

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# GitHub Gist WordPress Plugin

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

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

 * [Detaljer](https://da.wordpress.org/plugins/github-gist/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/github-gist/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/github-gist/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/github-gist/#developers)

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

## Beskrivelse

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ærmbilleder

[⌊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

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“GitHub Gist WordPress Plugin” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

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

[Oversæt “GitHub Gist WordPress Plugin” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/github-gist)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/github-gist/), tjek 
[SVN repository](https://plugins.svn.wordpress.org/github-gist/), eller abonner 
på [udviklerloggen](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).

## Ændringslog

#### 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**
 *  Senest opdateret **16 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.5.1 eller højere **
 *  Testet op til **3.0.5**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/github-gist/)
 * Tags
 * [embed](https://da.wordpress.org/plugins/tags/embed/)[Gist](https://da.wordpress.org/plugins/tags/gist/)
   [git](https://da.wordpress.org/plugins/tags/git/)[Github](https://da.wordpress.org/plugins/tags/github/)
   [shortcode](https://da.wordpress.org/plugins/tags/shortcode/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/github-gist/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

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

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://owenou.com)