@types/gatsby-transformer-remark
TypeScript icon, indicating that this package has built-in type declarations

2.9.4 • Public • Published

Installation

npm install --save @types/gatsby-transformer-remark

Summary

This package contains type definitions for gatsby-transformer-remark (https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gatsby-transformer-remark.

index.d.ts

export interface RemarkConfig {
    resolve: "gatsby-transformer-remark";
    options?: RemarkOptions | undefined;
}

/**
 * @see https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/#how-to-use
 * @see https://github.com/remarkjs/remark/tree/remark-parse%406.0.3/packages/remark-parse
 */
export interface RemarkOptions {
    /** CommonMark mode (default: true) */
    commonmark?: boolean | undefined;
    /** Footnotes mode (default: true) */
    footnotes?: boolean | undefined;
    /** Pedantic mode (default: true) */
    pedantic?: boolean | undefined;
    /** GitHub Flavored Markdown mode (default: true) */
    gfm?: boolean | undefined;
    /** Plugins configs */
    plugins?: any[] | undefined;
    /**
     * Pass default options to the plugin generating tableOfContents
     * @see https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/#configuring-the-tableofcontents
     */
    tableOfContents?: {
        absolute?: boolean | undefined;
        pathToSlugField?: string | undefined;
        heading?: null | string | undefined;
        maxDepth?: number | undefined;
    } | undefined;
    /**
     * @see https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/#example-excerpts
     */
    excerpt_separator?: string | undefined;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Emily M Klassen.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.9.00ts3.2
2.9.00ts3.3
2.9.00ts3.4
2.9.00ts3.5
2.9.4649ts5.6
2.9.4649latest
2.9.4649ts4.5
2.9.4649ts4.6
2.9.4649ts4.7
2.9.4649ts4.8
2.9.4649ts4.9
2.9.4649ts5.0
2.9.4649ts5.1
2.9.4649ts5.2
2.9.4649ts5.3
2.9.4649ts5.4
2.9.4649ts5.5
2.9.4649ts5.7
2.9.17ts3.6
2.9.17ts3.7
2.9.17ts3.8
2.9.17ts3.9
2.9.17ts4.0
2.9.17ts4.1
2.9.17ts4.2
2.9.17ts4.3
2.9.17ts4.4

Version History

VersionDownloads (Last 7 Days)Published
2.9.4649
2.9.31
2.9.20
2.9.17
2.9.00

Package Sidebar

Install

npm i @types/gatsby-transformer-remark

Weekly Downloads

554

Version

2.9.4

License

MIT

Unpacked Size

5.25 kB

Total Files

5

Last publish

Collaborators

  • types