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

Feature Request: configurable newline of diagram #67

Open
PhilipPartsch opened this issue Jul 22, 2022 · 1 comment
Open

Feature Request: configurable newline of diagram #67

PhilipPartsch opened this issue Jul 22, 2022 · 1 comment

Comments

@PhilipPartsch
Copy link

Currently in def html_visit_plantuml(self, node): every image is embedded in a <p>. This leads to a newline for each picture. If we would have a configuration parameter to supress the new line (set it to <span> instead of <p>), would be nice and support my use case. Any feedback?

@yuja
Copy link
Collaborator

yuja commented Jul 23, 2022

Maybe you can control the appearance with css, .plantuml { display: inline } for example.

Adding option to use <span> (or remove <p> at all) is fine, but I don't know how that will be useful. Might be even better to add an option to customize the class attribute per node. blockdiag has one: https://github.com/blockdiag/blockdiag/blob/9f0ccb20b534eddef89aade497cefc250b10d722/src/blockdiag/utils/rst/directives.py#L71

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