attakei / sphinx-revealjs

HTML Presentation builder for Pythonista
https://attakei.github.io/sphinx-revealjs/
Apache License 2.0
109 stars 19 forks source link

[ext.screenshot] Specify section for target of screenshot #143

Open attakei opened 11 months ago

attakei commented 11 months ago

Overview

Using sphinx_revealjs.ext.screenshot, sphinx-builder generates html-presentations and screenshots of first-section.

By this idea, user can select any section as screenshot from presentation for og-image.

Example

(On top of rst source)

.. revealjs-screenshot::
   :section: /1/1
   :fallback:

Inspired