0.3.17 • Published 8 months ago
@metapages/docu-notion-plugins v0.3.17
docu-notion plugins
Plugins for docu-notion (min version 0.14.0)
- adjusts mermaid links to other notion documents so they work in docusaurus
- fixes paths when you have
./docsand./blog - columns break, uses different column rendering that works with images and mermaid diagrams
Usage:
Example docu-notion.config.ts:
import {
IDocuNotionConfig,
Log,
} from '@sillsdev/docu-notion';
import {
correctNotionUrlsInMermaid,
modifiedStandardInternalLinkConversion,
notionColumnsUpgraded,
embedToIframe,
} from '@dionjw/docu-notion-plugins';
const config: IDocuNotionConfig = {
plugins: [
notionColumnsUpgraded,
correctNotionUrlsInMermaid(),
modifiedStandardInternalLinkConversion,
// Convert all [embed] markdown tags to <iframes>, with
// special treatment for metaframes/metapages
embedToIframe,
],
};
export default config;For the notionColumnsUpgraded plugin you will need this css added to your docusaurus:
.custom-docunotion-row {
display: flex;
direction: row;
min-height: 0;
max-height: 100%;
align-self: center;
flex-direction: row;
justify-content: center;
align-items: center;
}
.custom-docunotion-row-cell {
/* Allow shrinkage */
flex: 1 1 auto;
height: 100%;
text-align: center;
}0.1.10
8 months ago
0.1.11
8 months ago
0.3.9
8 months ago
0.3.17
8 months ago
0.3.16
8 months ago
0.3.15
8 months ago
0.3.14
8 months ago
0.3.13
8 months ago
0.3.12
8 months ago
0.3.11
8 months ago
0.3.10
8 months ago
0.3.0
8 months ago
0.2.1
8 months ago
0.2.0
8 months ago
0.3.6
8 months ago
0.1.8
8 months ago
0.3.5
8 months ago
0.1.7
8 months ago
0.3.8
8 months ago
0.3.7
8 months ago
0.1.9
8 months ago
0.3.2
8 months ago
0.3.1
8 months ago
0.3.4
8 months ago
0.3.3
8 months ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago