dd82ab8d79
* Update Assets.md * expand fix for every /plugins page
1.5 KiB
1.5 KiB
title | tags | |
---|---|---|
OxHugoFlavoredMarkdown |
|
This plugin provides support for ox-hugo compatibility. See OxHugo compatibility for more information.
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
This plugin accepts the following configuration options:
wikilinks
: Iftrue
(default), converts Hugo{{ relref }}
shortcodes to Quartz wikilinks.removePredefinedAnchor
: Iftrue
(default), strips predefined anchors from headings.removeHugoShortcode
: Iftrue
(default), removes Hugo shortcode syntax ({{}}
) from the content.replaceFigureWithMdImg
: Iftrue
(default), replaces<figure/>
with![]()
.replaceOrgLatex
: Iftrue
(default), converts Org-mode features/Latex fragments to Quartz-compatible LaTeX wrapped in$
(for inline) and$$
(for block equations).
Warning
While you can use this together with ObsidianFlavoredMarkdown, it's not recommended because it might mutate the file in unexpected ways. Use with caution.
If you use
toml
frontmatter, make sure to configure the Frontmatter plugin accordingly. See OxHugo compatibility for an example.
API
- Category: Transformer
- Function name:
Plugin.OxHugoFlavoredMarkdown()
. - Source:
quartz/plugins/transformers/oxhugofm.ts
.