feat(bases): migrate from vault to upstream
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
18
docs/plugins/BasePage.md
Normal file
18
docs/plugins/BasePage.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: BasePage
|
||||
tags:
|
||||
- plugin/emitter
|
||||
---
|
||||
|
||||
This plugin emits pages for each view defined in `.base` files. See [[bases]] for usage.
|
||||
|
||||
> [!note]
|
||||
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
|
||||
|
||||
Pages use `defaultListPageLayout` from `quartz.layout.ts` with `BaseContent` as the page body. To customize the layout, edit `quartz/components/pages/BaseContent.tsx`.
|
||||
|
||||
## API
|
||||
|
||||
- Category: Emitter
|
||||
- Function name: `Plugin.BasePage()`.
|
||||
- Source: [`quartz/plugins/emitters/basePage.tsx`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/emitters/basePage.tsx).
|
||||
20
docs/plugins/ObsidianBases.md
Normal file
20
docs/plugins/ObsidianBases.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: ObsidianBases
|
||||
tags:
|
||||
- plugin/transformer
|
||||
---
|
||||
|
||||
This plugin parses `.base` files and compiles them for rendering. See [[bases]] for usage.
|
||||
|
||||
> [!note]
|
||||
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
|
||||
|
||||
## Configuration
|
||||
|
||||
- `emitWarnings`: If `true` (default), emits parse errors and type mismatches as warnings during build.
|
||||
|
||||
## API
|
||||
|
||||
- Category: Transformer
|
||||
- Function name: `Plugin.ObsidianBases()`.
|
||||
- Source: [`quartz/plugins/transformers/bases.ts`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/transformers/bases.ts).
|
||||
Reference in New Issue
Block a user