Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
attakei opened this issue Oct 8, 2023 · 0 comments
Open

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

attakei opened this issue Oct 8, 2023 · 0 comments
Labels
enhancement New feature or request hacktoberfest
Milestone

Comments

@attakei
Copy link
Owner

attakei commented Oct 8, 2023

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:
  • section is fragment parameter of Reveal.js presentation URL.
  • fallback is flag to use top-page for screenshot if invalid section is specified.

Inspired

@attakei attakei added enhancement New feature or request hacktoberfest labels Oct 8, 2023
@attakei attakei changed the title [ext.screenshot] Specify section for targt of screenshot [ext.screenshot] Specify section for target of screenshot Oct 14, 2023
@attakei attakei added this to the v3.0 milestone Nov 12, 2023
@attakei attakei modified the milestones: v3.0, v3.x Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant