Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Embedded charts are positioned incorrectly when exporting to HTML/PDF. #90

@max-arshinov

Description

@max-arshinov

Description

I am testing image embedding. Sometimes, it works great; sometimes it doesn't. Here is how I created the attached pdf:

  1. Embedded diagrams in the documentation
  2. Clicked on "Export to offline HTML page"
  3. Opened the HTML in Chrome and saved it as PDF.

Structurizr - A minimal approach to software architecture documentation.pdf

The source code is available here: https://github.com/max-arshinov/masad/tree/url-shortener

Priority

I have no budget and there's no rush, please add this feature for free

More information

Here is how I embed images

== System Scope and Context
=== Business Context

image::embed:SystemContext-004[]

=== Technical Context

image::embed:Container-002[]

I also tried

image::embed:SystemContext-004[width=200]

and

image::embed:SystemContext-004[width=50%]

It looks like the "width" property is ignored.

The source code is available here: https://github.com/max-arshinov/masad/tree/url-shortener

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions