From: Guenter M. <mi...@us...> - 2022-04-29 09:07:54
|
On 2022-04-27, Agathe Porte wrote in gmane.text.docutils.user: > Dear Docutils maintainers, > I am using docutils 0.18.1. When feeding the following input to docutils > via pelican [0] : > .. image:: > /blog/2022/04/27/exporting-mov-and-mp4-animations-from-gimp/out.mp4 > :alt: test > I get the following HTML output: ><img alt="test" > src="/blog/2022/04/27/exporting-mov-and-mp4-animations-from-gimp/out.mp4"> > However, according to the documentation [1], this should export a ><video> tag instead of a <img> tag given that the file extension is ".mp4". It seems that Pelican (at least with your configuration) uses the traditional HTML4 writer for HTML export. Only the `HTML5 writer`_ supports video. Finding out how/whether Pelican can be configured to use the HTML5 writer is left as an exercise for the reader. .. HTML5 writer: https://docutils.sourceforge.io/docs/user/html.html#html5-polyglot > [0] https://blog.getpelican.com/ > [1] https://docutils.sourceforge.io/docs/ref/rst/directives.html#footnote-1 y |