ooxast-util-citation-plugin
v0.4.0
Published
Small ooxast utility which scans the text to identify the citation plugin used, either Mendely, Zotero, EndNote, Citavi, native word citations or none at all.
Downloads
10
Maintainers
Readme
Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.
ooxast-util-citation-plugin
Small ooxast utility which scans the text to identify the citation plugin used, either Mendely, Zotero, EndNote, Citavi, native word citations or none at all. It is used to feed into other things.
Not completely accurate, as it just identifies the first citation plugin it finds, but it's good enough for our purposes.
Contents
What is this?
When should I use this?
Install
This package is ESM only. In Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install as
pnpm add ooxast-util-citation-plugin
# or with yarn
# yarn add ooxast-util-citation-plugin
# or with npm
# npm install ooxast-util-citation-plugin
Use
API
detectCitePlugin()
Signature
detectCitePlugin(node: Node<Data>): string;
Parameters
| Name | Type |
| :----- | :------------- |
| node
| Node
<Data
> |
Returns
string
Defined in: lib/ooxast-util-citation-plugin.ts:8
Syntax tree
Types
Compatibility
Security
Related
Contribute
License
GPL-3.0-or-later © Thomas F. K. Jorna