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

Compatibility of Image Layouts with Obsidian Publish #29

Closed
theslyprofessor opened this issue Jan 21, 2025 · 1 comment
Closed

Compatibility of Image Layouts with Obsidian Publish #29

theslyprofessor opened this issue Jan 21, 2025 · 1 comment

Comments

@theslyprofessor
Copy link

First, I want to express my gratitude for developing the Obsidian Image Layouts plugin. It’s been instrumental in enhancing the visual presentation of my notes.

I primarily use Obsidian Publish to share my notes online. I’ve noticed that some image layouts configured in the editor don’t retain their formatting when published. Is there a streamlined method to ensure that these modifications persist in Obsidian Publish? Additionally, are there specific CSS snippets or adjustments you would recommend to achieve consistent image layouts across both the editor and the published site?

Thank you for your time and assistance.

@vertis
Copy link
Owner

vertis commented Feb 8, 2025

@theslyprofessor sorry it's taken a while to get back to you, it's been a busy few weeks.

I'm still working on documenting it, but I've created a publish.js and publish.css that should work. It's not easy but it works (hopefully you're not doing anything else custom with the JS, because I don't want to think about merging two)

publish.js
publish.css

@vertis vertis closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants