mirror of
https://github.com/alrayyes/wiki.git
synced 2025-04-30 14:24:12 +00:00
scss support
This commit is contained in:
parent
c1c46ad67e
commit
42d3a7de17
15 changed files with 574 additions and 99 deletions
quartz/plugins
|
@ -1,6 +1,7 @@
|
|||
import { PluggableList } from "unified"
|
||||
import { StaticResources } from "../resources"
|
||||
import { ProcessedContent } from "./vfile"
|
||||
import { GlobalConfiguration } from "../cfg"
|
||||
|
||||
export abstract class QuartzTransformerPlugin {
|
||||
abstract name: string
|
||||
|
@ -23,7 +24,7 @@ export interface EmitOptions {
|
|||
export type EmitCallback = (data: EmitOptions) => Promise<string>
|
||||
export abstract class QuartzEmitterPlugin {
|
||||
abstract name: string
|
||||
abstract emit(content: ProcessedContent[], resources: StaticResources, emitCallback: EmitCallback): Promise<string[]>
|
||||
abstract emit(cfg: GlobalConfiguration, content: ProcessedContent[], resources: StaticResources, emitCallback: EmitCallback): Promise<string[]>
|
||||
}
|
||||
|
||||
export interface PluginTypes {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue