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

Floating images / div in slides #148

Open
DavidLeoni opened this issue Aug 10, 2023 · 0 comments
Open

Floating images / div in slides #148

DavidLeoni opened this issue Aug 10, 2023 · 0 comments

Comments

@DavidLeoni
Copy link
Owner

DavidLeoni commented Aug 10, 2023

Define html tag data-jupman-style and during build rename it to style, so images or divs can be freely positioned in the result without going wild while editing in Jupyter

  • question: mainly meant for slides, but could it make sense in other contexts, too?
  • note this can be a hacky workaround for some cases of Multicolumn layout #140

Example:

<img src="img/astropi-humidity-histogram.png" 
     data-jupman-style="position: absolute;
                        right: 1vw;
                        top: 15vh;
                        width: 47%;" >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant