diff options
| -rw-r--r-- | wasm/index.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/wasm/index.html b/wasm/index.html index 23ecb10ac..4d7a6be62 100644 --- a/wasm/index.html +++ b/wasm/index.html @@ -1129,6 +1129,13 @@ <label for="opt-ascii">ASCII output only (escape non-ASCII characters)</label> </div> </div> + <!-- ODT options --> + <div v-show="effectiveOutputFormat === 'odt'" style="margin-top: 0.75rem;"> + <div class="checkbox-group"> + <input type="checkbox" id="opt-link-images" v-model="opts.linkImages" /> + <label for="opt-link-images">Link images (reference instead of embed)</label> + </div> + </div> </div> <!-- EPUB --> @@ -1464,7 +1471,8 @@ slideLevel: '', incremental: false, wrap: 'auto', - columns: '' + columns: '', + linkImages: false }, // Metadata @@ -2320,6 +2328,11 @@ if (this.opts.epubSubdirectory.trim()) opts['epub-subdirectory'] = this.opts.epubSubdirectory.trim(); } + // ODT options + if (baseOutFmt === 'odt') { + if (this.opts.linkImages) opts['link-images'] = true; + } + // Template if (this.templateFile) opts.template = this.templateFile.name; |
