ReadOnlyMediaStorageOptions
data class ReadOnlyMediaStorageOptions(val enableRemoteMediaStorage: Boolean? = null, val enableLocalMediaStorage: Boolean? = null) : MediaStorageOptions
Read-only options that affect the rules of a media storage. Used in com.quarkdown.core.rendering.PostRenderer to determine the preferred rules of a rendering strategy.
Properties
Link copied to clipboard
Whether local media should be stored locally in the output directory. If enabled, the media is copied to the output directory and the element that references the media is updated to reference the new path. If null, the preference is determined by the active renderer.
Link copied to clipboard
Whether remote media associated to a URL should be stored locally. If enabled, the media is downloaded, stored in the output directory and the element that references the media is updated to reference the new local path. If null, the preference is determined by the active renderer.