Giter VIP home page Giter VIP logo

gist-api-wp-plugin's Introduction

=== Gist API Code insert ===
Contributors: pinchoalex
Donate link: https://www.donationalerts.com/r/pinchoalex
Tags: Gist, Github, Code highlight
Requires at least: 4.0.0
Tested up to: 6.3
Requires PHP: 7.2
Stable tag: 4.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Inserts Github Gist code directly in to your posts via shortcode without using js embed script

== Description ==

Unlike the standard embedding method that use script like this

    <script src="https://gist.github.com/..."></script>

to embed gist code, Gist API Code insert plugin inserts code directly in to your posts using simple shortcode and highlights it with prism code highlighter.

**Examples**

Add all files from a gist:

	[apCI id="123456789"]

Add single file from a gist:

	[apCI id="123456789" file="filename.php"]

Add single file from a gist with raw file link:

	[apCI id="123456789" file="filename.php" raw="yes" ]

== Installation ==

1. Upload plugin files to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress

== Frequently Asked Questions ==

= Where I can find shortcode button? =

* You can find shortcode button in your classic code editor`s tool bar.

== Screenshots ==

1. Plugin`s shortcode button in WP classic editor
2. Highlighted code example from gist api via shortcode

== Changelog ==

= 1.0.0 =

* Initial plugin release.

== Upgrade Notice ==

= 1.0 =
Initial plugin release.

gist-api-wp-plugin's People

Contributors

glook avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.