Beskrivelse
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"]
Installasjon
Minimum Requirements
- WordPress 4.9 or greater
- PHP 7.1 or greater
Manual installation
- Navigate to Plugins > Add New.
- Click the Upload Plugin button at the top of the screen.
- Select the zip file from your local filesystem.
- Click the Install Now button.
- Click the Activate Plugin button at the bottom of the page.
Vurderinger
Det er ingen omtaler av denne utvidelsen.
Bidragsytere og utviklere
“Git Snippets” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.
BidragsytereOversett “Git Snippets” til ditt språk.
Interessert i utvikling?
Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.
Endringslogg
2.0.0 (September 25, 2021)
- GitLab 14.1 (Tested)
- Code cleanup
1.0.0 (August 28, 2019)
- Initial release.