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

further PlantUML integration #1

Open
McFoggy opened this issue Mar 6, 2017 · 3 comments
Open

further PlantUML integration #1

McFoggy opened this issue Mar 6, 2017 · 3 comments

Comments

@McFoggy
Copy link

McFoggy commented Mar 6, 2017

It would be good to start thinking how to integrate into gitbucket rendering mechanism so that inline PlantUML code or references to PlantUML files could be rendered as an image.

What I am thinking of:

  1. Render PlantUML code in Markdown (README, wikis, ...)

For example embedding the following in markdown

    ```plantuml
    Bob->Alice : hello Alice, I'am Bob
    Alice-->Bob : hello Bob
    ```
  1. Render references to PlantUML files

this is already possible in mardown using images links and the proxy available on PlantUML site (see here).
The drawback of that is that it requires access to the internet which is not the case in all the deployments of gitbucket.
Perhaps a similar feature could be implemented to act the same.

@McFoggy
Copy link
Author

McFoggy commented Mar 6, 2017

I think this could be easily tackled once gitbucket/gitbucket#1307 & more precisely gitbucket/gitbucket#1323 will be done.

@nus
Copy link
Owner

nus commented Mar 11, 2017

  1. Render PlantUML code in Markdown (README, wikis, ...)

Sounds good.

nus added a commit that referenced this issue Mar 12, 2017
@nus
Copy link
Owner

nus commented Mar 12, 2017

  1. Render references to PlantUML files

@McFoggy

Now, it is possible to download a PlantUML image from gitbucket on 7cd3b41 .

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