
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
docusaurus-notion-mdx-plugin
Advanced tools
> Currently in the testing version, only supports docs. Will support multiple docs and blogs in the future.
Currently in the testing version, only supports docs. Will support multiple docs and blogs in the future.
docusaurus-notion-mdx-plugin enables you to use Notion as the editor for Docusaurus. By using Notion instead of raw markdown files, you eliminate the need to teach non-developers how to make git commits and pull requests. This simplifies collaboration and editing between users with less technical proficiency. docusaurus-notion-mdx-plugin allows non-technical team members to contribute content in a more user-friendly manner without having to learn complex version control processes.
Example Site: https://sillsdev.github.io/docu-notion-sample-site/
Go to this template page. Duplicate it into your own workspace. However, please note that you should not modify the fields of the database.
In order for docusaurus-notion-mdx-plugin to read your site via Notion's API, you need to create what Notion calls an "integration". Follow these instructions to make an integration and get your token. Remember to limit your integration to "READ" access.
Please remember your Notion Integration key, as it will be used for configuring the Docusaurus plugin later.
Go to the page that will be the root of your site. This page should have, as direct children, your "Outline" (required) and "Database" (optional) pages. Follow these instructions.

npm i docusaurus-notion-mdx-plugin
plugins: [
.......,
['docusaurus-notion-mdx-plugin',
{
notionAuth: 'Your docusaurus-notion-mdx-plugin Notion Integration Key.',
databaseId: 'Notion template page database ID',
lastSyncTime:"2023-12-07T10:32:23.473Z"
}
],
],
First, determine the id of your root page by clicking "Share" and looking at the url it gives you. E.g. https://www.notion.so/max-gao/ex0b17d232e34a81sdf72197c041108f means that the id is "ex0b17d232e34a81sdf72197c041108f".
This field represents the data you want to synchronize from this day onwards. Each subsequent run of the project will automatically update it. The corresponding field in the database is the last modified time, so any updated articles will also be synchronized here.
When adding a page under the template database you copied, please pay attention to the fields of the database. Below are the meanings and explanations of the fields.
pnpm start
View the files generated in the Docs directory.
Every time you run the project, the page will be updated. If you are using a CI system (such as Github Actions) for deployment, you can exclude submitting the page file.
Some popular languages like Java, C#, or PHP are not enabled by default. Supported Languages
The code block header in Docusaurus corresponds to the Caption in the notion code block
FAQs
> Currently in the testing version, only supports docs. Will support multiple docs and blogs in the future.
The npm package docusaurus-notion-mdx-plugin receives a total of 4 weekly downloads. As such, docusaurus-notion-mdx-plugin popularity was classified as not popular.
We found that docusaurus-notion-mdx-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.