Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub

日本語

gatsby-source-scrapbox

Gatsby source plugin for sourcing data from Scrapbox.

This plugin is not developed by Scrapbox and please do not report issues to them.

As described in https://scrapbox.io/help-jp/API, Scrapbox’s API is subject to change without notice. If you find the plugin breaking, feel free to open an issue.

Features

  • Fetching pages of project
  • Fetching contents of individual pages
  • Fetching images

Installation

(not published yet)

npm i gatsby-source-scrapbox
// in your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-scrapbox`,
    options: {
      projectName: `name-of-your-project`,
    },
  },
];

Options

projectName

  • type: string
  • required

A string that represents project name you want to source from.

limit

  • type: number
  • optional

Maximum number of pages to fetch.

skip

  • type: number
  • optional

Number of pages to skip fetching.

© 2022 Gatsby, Inc.