Skip to content

Cannot render PlantUML diagram when rendering DOM dynamically (like SPA) #21

@exKAZUu

Description

@exKAZUu

Some web apps (especially GitHub) renders web pages dynamically like SPA.
However, this plugin doesn't render a diagram of PlantUML code inserted dynamically.
So, I would recommend this plugin to detect DOM changes by watching DOM periodically (e.g. per 5 sec?) in order to render such a diagram.

Reproduction step

  1. Open https://github.com/dai0304/pegmatite
  2. Click Issues
  3. Click this issue
  4. Confirm the plugin doesn't render the following PlantUML code
    (If you open this issue page directly by entering the URL, then this plugin works well)
@startuml

[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string

State1 -> State2
State2 --> [*]

@enduml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions