← Back to team overview

zim-wiki team mailing list archive

Re: Export to hml with images

 

If I export to md with zim (and correct the wrong path of the image,
an error separately reported), I can use RStudio to open the md and
export to a self-contained html that works
perfectly well. RStudio uses pandoc with the following command:
pandoc +RTS -K512m -RTS
A_Practical_Guide_of_Mean-Shift_Segmentation_using_OTB.md --to html4
--from markdown+autolink_bare_uris+tex_math_single_backslash --output
A_Practical_Guide_of_Mean-Shift_Segmentation_using_OTB.html
--lua-filter /home/alobo/R/x86_64-pc-linux-gnu-library/4.0/rmarkdown/rmarkdown/lua/pagebreak.lua
--lua-filter /home/alobo/R/x86_64-pc-linux-gnu-library/4.0/rmarkdown/rmarkdown/lua/latex-div.lua
--self-contained --variable bs3=TRUE --standalone --section-divs
--template /home/alobo/R/x86_64-pc-linux-gnu-library/4.0/rmarkdown/rmd/h/default.html
--no-highlight --variable highlightjs=1 --variable theme=bootstrap
--include-in-header /tmp/Rtmp0gIpY5/rmarkdown-str25095a852e84.html
--mathjax --variable
'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'

Perhaps zim could do the same at least as an option.

Agus


Agustin Lobo
aloboaleu@xxxxxxxxx

On Tue, Jun 29, 2021 at 10:34 AM Jaap Karssenberg
<jaap.karssenberg@xxxxxxxxx> wrote:
>
> No. Html does not (really) allow for embedding the images into the html, they are typically exported as separate files. Maybe you can use the MHTML (Web archive) export format ?  It is not as widely supported, but it does allow creating a single file.
>
> -- Jaap
>
> On Mon, Jun 28, 2021 at 8:05 PM Agustin Lobo <aloboaleu@xxxxxxxxx> wrote:
>>
>> Is it possible to export to html so that the images get included
>> within the html file itself?
>> Thanks
>>
>> Agustin Lobo
>> aloboaleu@xxxxxxxxx
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp


References