Title: Git Snippets
Author: Luis A. Ochoa
Published: <strong>29 augusti 2019</strong>
Last modified: 25 september 2021

---

Sök tillägg

![](https://ps.w.org/git-snippets/assets/banner-772x250.png?rev=2147446)

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://ps.w.org/git-snippets/assets/icon-256x256.png?rev=2147446)

# Git Snippets

 Av [Luis A. Ochoa](https://profiles.wordpress.org/aochoae/)

[Ladda ner](https://downloads.wordpress.org/plugin/git-snippets.2.0.0.zip)

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

 [Support](https://wordpress.org/support/plugin/git-snippets/)

## Beskrivning

With Git Snippets you can share code and text fragments with other users from your
website.

To embed a project snippet, first make sure that:

 * The snippet is public
 * In **Project > Settings > Visibility, project features, permissions**, the snippets
   permissions are set to **Everyone with access**

Use `[gitlab]` shortcode by using the ID or URL of the snippet in your posts and
pages.

 * `[gitlab id="2180458"]`
 * `[gitlab url="https://gitlab.com/aochoae/git-snippets/-/snippets/2180458"]`

## Installation

#### Minimum Requirements

 * WordPress 4.9 or greater
 * PHP 7.1 or greater

#### Manual installation

 1. Navigate to **Plugins > Add New**.
 2. Click the Upload Plugin button at the top of the screen.
 3. Select the zip file from your local filesystem.
 4. Click the **Install Now** button.
 5. Click the Activate Plugin button at the bottom of the page.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Git Snippets” är programvara med öppen källkod. Följande personer har bidragit 
till detta tillägg.

Bidragande personer

 *   [ Luis A. Ochoa ](https://profiles.wordpress.org/aochoae/)

[Översätt ”Git Snippets” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/git-snippets)

### Intresserad av programutveckling?

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

## Ändringslogg

#### 2.0.0 (September 25, 2021)

 * GitLab 14.1 (Tested)
 * Code cleanup

#### 1.0.0 (August 28, 2019)

 * Initial release.

## Meta

 *  Version **2.0.0**
 *  Senast uppdaterat **5 år sedan**
 *  Aktiva installationer **Färre än 10**
 *  WordPress-version ** 4.9 eller senare **
 *  Testat upp till **5.8.19**
 *  PHP-version ** 7.1 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/git-snippets/)
 * Etiketter
 * [git](https://sv.wordpress.org/plugins/tags/git/)[gitlab](https://sv.wordpress.org/plugins/tags/gitlab/)
   [shortcode](https://sv.wordpress.org/plugins/tags/shortcode/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/git-snippets/advanced/)

## Betyg

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

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

[Visa alla recensioner](https://wordpress.org/support/plugin/git-snippets/reviews/)

## Bidragande personer

 *   [ Luis A. Ochoa ](https://profiles.wordpress.org/aochoae/)

## Support

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

 [Visa supportforum](https://wordpress.org/support/plugin/git-snippets/)