MaskyS / Gist-Input-Filter

Port of Gist Input Filter module to Drupal 8 by capuleto and MaskyS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CONTENTS OF THIS FILE

  • Introduction
  • Installation
  • Configuration
  • Usage Instructions
  • Maintainers

INTRODUCTION

Gist Input Filter is the easiest way to embed Gists in your Drupal website. It substitutes [gist:xx] tags with the gist located at http://gist.github.com/xx. Read more about on how to use the Gist Input Filter module below.

INSTALLATION

CONFIGURATION

  • Head to admin/config/content/formats, and click Configure button that's next to the editor with which you want to use Gist Input Filter. Scroll down until you see the 'Enabled filters' section. You will find 'Gist filter' below it. Tick the checkbox, scroll down and click 'Save Configuration'.

USAGE INSTRUCTIONS

To add a gist to a post, simply add [gist{display_method}:#####] where ##### is the number of your gist and {display_method} is the way you want to display your gist. Depending on the tag you used, Git Input Filter will replace:

You may also include a specific file within a multi-file gist with [gist:#####:my_file]

MAINTAINERS

Current maintainers:

This project has been partly ported by a Google Code-In student.

  • Google Code-In is an international contest for high-school students that allows them to contribute to open source projects while earning cool prizes. See more here: http://g.co/gci

About

Port of Gist Input Filter module to Drupal 8 by capuleto and MaskyS


Languages

Language:PHP 97.7%Language:HTML 2.3%