Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 907 Bytes

File metadata and controls

36 lines (29 loc) · 907 Bytes
title underscript.plugin()
method true

The Plugin API is a service made to allow elevated access to UnderScript's internals.

Syntax

underscript.plugin(name);

name : Name of plugin (See name restrictions)

Methods

{% for page in site.api %} {% if page.plugin and page.method %} {{ page.title }} : {{ page.excerpt }} {% endif %} {% endfor %}

Properties

{% for page in site.api %} {% if page.plugin and page.property %} {{ page.title }} : {{ page.excerpt }} {% endif %} {% endfor %}

Restrictions

Plugin names have the following restrictions:

  1. No two plugins may share the same name
  2. Plugin names cant be longer than 20 characters
  3. Plugin names can only contain alphanumeric characters and space (A-Z0-9 )

Any plugin names outside these bounds will trigger an error and not create a plugin