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:
@@ -14,7 +14,8 @@ If the frontmatter contains a `description` property, it is used (see [[authorin
|
||||
|
||||
This plugin accepts the following configuration options:
|
||||
|
||||
- `descriptionLength`: the maximum length of the generated description. Default is 150 characters. The cut off happens after the first _sentence_ that ends after the given length.
|
||||
- `descriptionLength`: the target length of the generated description. Default is 150 characters. The cut off happens after the first _sentence_ that ends after the given length.
|
||||
- `maxDescriptionLength`: the hard maximum length of the description. If the generated description exceeds this, it is truncated with an ellipsis. Default is 300 characters.
|
||||
- `replaceExternalLinks`: If `true` (default), replace external links with their domain and path in the description (e.g. `https://domain.tld/some_page/another_page?query=hello&target=world` is replaced with `domain.tld/some_page/another_page`).
|
||||
|
||||
## API
|
||||
|
||||
Reference in New Issue
Block a user