docs: add missing options to transformer plugin documentation
- CreatedModifiedDate: add defaultDateType option - Description: add maxDescriptionLength option - Latex: add katexOptions, mathJaxOptions, typstOptions - SyntaxHighlighting: add clipboard and tokenClassification options - RoamFlavoredMarkdown: add tableComponent and attributeComponent
This commit is contained in:
@@ -12,8 +12,10 @@ This plugin is used to add syntax highlighting to code blocks in Quartz. See [[s
|
||||
|
||||
This plugin accepts the following configuration options:
|
||||
|
||||
- `theme`: a separate id of one of the [themes bundled with Shikiji](https://shikiji.netlify.app/themes). One for light mode and one for dark mode. Defaults to `theme: { light: "github-light", dark: "github-dark" }`.
|
||||
- `theme`: a separate id of one of the [themes bundled with Shikiji](https://shikiji.netlify.app/themes). One for light mode and one for dark mode. Defaults to `theme: { light: "github-light", dark: "github-dark" }`.
|
||||
- `keepBackground`: If set to `true`, the background of the Shikiji theme will be used. With `false` (default) the Quartz theme color for background will be used instead.
|
||||
- `clipboard`: Whether to add a copy-to-clipboard button to code blocks. Defaults to `true`.
|
||||
- `tokenClassification`: Whether to add semantic token classification CSS classes to code tokens. Defaults to `true`.
|
||||
|
||||
In addition, you can further override the colours in the `quartz/styles/syntax.scss` file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user