Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@171h/reoff-remark

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@171h/reoff-remark

> **Note** > This repository is automatically generated from the [main parser monorepo](https://github.com/TrialAndErrorOrg/parsers). Please submit any issues or pull requests there.

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Note This repository is automatically generated from the main parser monorepo. Please submit any issues or pull requests there.

reoff-remark

npm version npm downloads

Plugin for reoff that takes an ooxast tree and turns it into a remark tree, allowing for .docx to .tex conversion

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 reoff-remark
# or with yarn
# yarn add reoff-remark
# or with npm
# npm install reoff-remark

Use

API


default()

Plugin to bridge or mutate to remark

If a destination is given, runs the destination with the new mdast tree (bridge-mode). Without destination, returns the jast tree: further plugins run on that tree (mutate-mode).

This is done so that you can use this plugin as either the plugin before the stringify plugin, or the plugin before another mutate plugin

Signature
default(this: Processor<void, Root, void, void>, ...settings: [Processor, Options?]): void | Transformer<Root, Root>;
Parameters
NameType
thisProcessor<void, Root, void, void>
...settings[Processor, Options?]
Returns

void | Transformer<Root, Root>

Defined in: node_modules/.pnpm/unified@10.1.2/node_modules/unified/index.d.ts:531

Plugin to bridge or mutate to remark

If a destination is given, runs the destination with the new mdast tree (bridge-mode). Without destination, returns the jast tree: further plugins run on that tree (mutate-mode).

This is done so that you can use this plugin as either the plugin before the stringify plugin, or the plugin before another mutate plugin

Signature
default(this: Processor<void, Root, void, void>, ...settings: [Options?] | void[]): void | Transformer<Root, Root>;
Parameters
NameType
thisProcessor<void, Root, void, void>
...settings[Options?]
Returns

void | Transformer<Root, Root>

Defined in: node_modules/.pnpm/unified@10.1.2/node_modules/unified/index.d.ts:531


Options

Properties
bibliography?

Data[]

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:56

bold?

"**" | "__"

Should bold be rendered with * or _?

Default

'**'

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:46

citationType?

"endnote" | "native" | "mendeley" | "citavi" | "zotero"

What type of citation is used?

Default

'zotero'

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:51

collectCitation?

Function

Type declaration

Signature`

(citation: any, index: string | number): any;

Parameters`

NameType
citationany
indexstring

Returns`

any

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:53

document?

boolean

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:36

handlers?

object

Handlers for specific node types

Index signature
Type declaration

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:35

italics?

"*" | "_"

Should italics be rendered with * or _?

Default

'*'

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:42

newLines?

boolean

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:37

parseCitation?

Function

Type declaration

Signature`

(citation: any): any;

Parameters`

NameType
citationany

Returns`

any

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:52

quotes?

string[]

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:38

relations?

object

Index signature
Type declaration

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:54

title?

string

Defined in: libs/ooxast/ooxast-util-to-mdast/src/lib/types.ts:55

Syntax tree

Types

Compatibility

Security

Contribute

License

GPL-3.0-or-later © Thomas F. K. Jorna

Keywords

FAQs

Package last updated on 18 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc