Socket
Socket
Sign inDemoInstall

@weknow/gatsby-remark-drupal

Package Overview
Dependencies
1
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @weknow/gatsby-remark-drupal

Provides support for markdown preprocessing for Drupal body fields.


Version published
Maintainers
4
Install size
1.35 MB
Created

Readme

Source

gatsby-remark-drupal

Provides support for markdown preprocessing to Drupal body fields.

  • Creates a new text/markdown field for drupal body fields of the selected content types.
  • Replaces Drupal relative image paths to previously downloaded and cached images by the gatsby-source-drupal plugin.

NOTE: To make sure your Drupal site expose markdown use the Toast UI Editor integration for Drupal provided by the tui_editor module.

Install

npm install --save @weknow/gatsby-remark-drupal

How to use

Default configuration

      // In your gatsby-config.js
      resolve: `gatsby-transformer-remark`,
      options: {
        plugins: [
          `@weknow/gatsby-remark-drupal`,

Custom configuration

      // In your gatsby-config.js
      resolve: `gatsby-transformer-remark`,
      options: {
        plugins: [
          {
            resolve: `@weknow/gatsby-remark-drupal`,
            options: {
              nodes: [`article`,`page`, `landing`, `cta`]
            }
          }

Options

NameDefaultDescription
nodes[article,page]The Drupal node types to process.

Keywords

FAQs

Last updated on 07 Dec 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc