- Source:
Members
Methods
(static) add(name, formatter)
Add output plugin.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
Cite.plugins.output~formatterName
|
output format name |
formatter |
Cite.plugins.output~formatter
|
outputting function |
(static) format(name, data, …options)
Call output plugin
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
Cite.plugins.output~formatterName
|
output format name |
|
data |
Array.<CSL>
|
all entries |
|
options |
*
|
<repeatable> |
output options |
(static) has(name) → {Boolean}
Check if output plugin exists.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
Cite.plugins.output~formatterName
|
output format name |
Returns:
- Type:
-
Boolean
register has plugin
(static) list() → {Array.<String>}
List output plugins.
- Source:
Returns:
- Type:
-
Array.<String>
list of plugins
(static) remove(name)
Remove output plugin.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
Cite.plugins.output~formatterName
|
output format name |
Type Definitions
formatter() → {String}
- Source:
Parameters:
Type | Description |
---|---|
Array.<InputData>
|
Returns:
- Type:
-
String
output