@salesforcedevs/sfdocs-remark-include-plugin
v1.0.4
Published
SFDocs remark plugin for the include directive (::include)
Readme
Remark Include Plugin
Examples
Include another markdown file:
::include{src="../shared/snippet.md"}The plugin reads the target file, parses it, and inserts its children into the current document.
If the included file path contains /shared/, relative image URLs in that included content are rewritten to absolute content paths.
You can pass custom render functions as the plugin’s second argument, e.g. for a VS Code extension.
