0.3.17 • Published 9 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
10 months ago
0.1.11
10 months ago
0.3.9
9 months ago
0.3.17
9 months ago
0.3.16
9 months ago
0.3.15
9 months ago
0.3.14
9 months ago
0.3.13
9 months ago
0.3.12
9 months ago
0.3.11
9 months ago
0.3.10
9 months ago
0.3.0
10 months ago
0.2.1
10 months ago
0.2.0
10 months ago
0.3.6
10 months ago
0.1.8
10 months ago
0.3.5
10 months ago
0.1.7
10 months ago
0.3.8
9 months ago
0.3.7
10 months ago
0.1.9
10 months ago
0.3.2
10 months ago
0.3.1
10 months ago
0.3.4
10 months ago
0.3.3
10 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