nyergler / hieroglyph

Generate HTML presentations from plain text sources with all the power of Sphinx.
https://hieroglyph.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
262 stars 73 forks source link

image positioning #145

Open stefanseefeld opened 6 years ago

stefanseefeld commented 6 years ago

Is there a way to control the exact position of embedded images within a given slide, either using (augmented) ReST markup or using CSS ?

lpirl commented 6 years ago

Yes. Add a custom CSS file to your presentation and then you can use CSS classes for images like this:

.. image:: _static/peace.svg
  :class: your-css-class