Skip to content

statamic/Plugin-Gist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

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 specify 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