Closed vigneshmanick closed 1 year ago
The issue was localhost:8080 is not reachable for your case. I verified similar issuue witth using Github Codespaces and added a fix. Please get the new changes, it should work now.
@sakirtemel thanks for the quick response. This does work, i have found further issues.
npm start
doesn't update the data. I had to clear browser cache each time== PlantUML.js with Asciidoctor.js Example
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response
@enduml
----
== Another diagram
[source,plantuml]
----
@startuml
Matt -> Mickey: New Request
Mickey -> Matt: Confirm
@enduml
----
@vigneshmanick interesting findings! I believe I've tried multiple diagrams at once and it worked, but there's a chance that it was just luck :) because actually they're writing to the same file every time under local storage. I'll check it out and will correct them
@vigneshmanick I updated the example to contain two diagrams, right now it seems to be working: https://github.com/plantuml/plantuml.js/tree/main/examples/02-asciidoctor.js
please let me know if either of the issues above are still occurring?
@sakirtemel thanks for the update, i have tested it and can confirm that the examples are working even with multiple diagrams.
Thanks!
Hello,
when trying to run the examples i get the following error.
The steps i did are
can you please assist me here.
Thanks!