Skip to content

haikulab/Plugin-Gist

This branch is 5 commits behind statamic/Plugin-Gist:master.

Repository files navigation

Statamic Gist Plugin

Installing

  1. Download the zip file (or clone via git) and unzip it or clone the repo into /_add-ons/.
  2. Ensure the folder name is gist (Github timestamps the download folder).
  3. Enjoy.

Usage

Quick embed any Gist with a simple tag. Example:

{{ gist:12345 }}

Longhand format example:

{{ gist id="12345" }}

Where '12345' is the id of the desired gist. That's all there is to it.

To speficy a specific file within a gist use the longhand format.

{{ gist id="12345" file="filename.md" }}

About

Statamic Plugin for quick embedding Gists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%