GithubHelp home page GithubHelp logo

asciidoctor-plantuml's Issues

New tag needed!

Could you please create a new version tag including latest changes?

Project including your lib are still not up-to-date and won't have the updates until there is a new version

Thanks

Specifying plantuml.jar

Hi!
I was wondering about a way of specifying a concrete plantuml.jar file for asciidoctor-pdf. The one coming with asciidoctor-pdf seems an older file than the version found in plantuml.com. Not being much of a ruby programmer I was looking through .rb for asciidoctor-pdf, and could not find any obvious parts...

Thanks!

Bump nokogiri from 1.13.4 to 1.13.6

Security advisor on nokogiri 1.13.4:

Note this gem uses nokogiri only for running the tests and it is never used in the gem itself. These security advisors should not pose a risk to users of the gem.

The subs attribute should be honored

Here's an example:

:action: hello

[plantuml,subs=+attributes]
----
alice -> bob : {action}
----

In the above example, {action} should be replaced/substituted by hello.
You can use the following code to do that:

subs = attrs['subs']
content = parent.apply_subs(content, parent.resolve_subs(subs)) if subs

It should be possible to declare a PlantUML diagram in a literal block

Currently, the extension only works on listing blocks. Since Asciidoctor Diagram recognizes both literal and listing blocks I think it would be great to also enable this extension on literal blocks.
I also believe that a literal block is semantically more accurate than a listing block (but it might be subjective).

I think the main benefit would be that users won't have to update their document if they want to use Asciidoctor Diagram or this extension.

What do you think?

PlantUML: "The plugin you are using seems to generated a bad URL." on official PlantUML server

The official plantuml.com server changed to URL format. Gitlab (and probably some other webapps) use asciidoctor-plantuml to create an image URL. Since the URL was changed, plantuml images are broken on Gitlab.

broken example from your testsuite

I copied the URL from your testsuite and changed the host

GENURL = 'http://localhost:8080/plantuml/png/U9npA2v9B2efpStX2YrEBLBGjLFG20Q9Q4Bv804WIw4a8rKXiQ0W9pCviIGpFqzJmKh19p4fDOVB8JKl1QWT05kd5wq0'

you can see this is broken

https://www.plantuml.com/plantuml/png/U9npA2v9B2efpStX2YrEBLBGjLFG20Q9Q4Bv804WIw4a8rKXiQ0W9pCviIGpFqzJmKh19p4fDOVB8JKl1QWT05kd5wq0

broken

This works

Just by adding ~1 it's fixed

https://www.plantuml.com/plantuml/png/~1U9npA2v9B2efpStX2YrEBLBGjLFG20Q9Q4Bv804WIw4a8rKXiQ0W9pCviIGpFqzJmKh19p4fDOVB8JKl1QWT05kd5wq0

good

Links

Recover rubygems.org account.

Let my old email domain expire without updating the rubygems.org account with my new email and now I cannot update the this gem.

This issue is to prove that I own and maintain this repo and the asciidoctor-plantuml gem in it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.