我在项目的markdown文件中有很多plantuml内容,它在gitlab上运行得非常好。现在我需要迁移到bitbucket,但似乎没有免费的解决方案可以将plantuml图片嵌入文档中。
是否有人想到了如何在bitbucket中启用plantuml预览?
安装自己的plantuml服务器(具体介绍请参见: https://github.com/plantuml/plantuml-server)
将您的plantuml文件作为文本文件放入您的bitbucket存储库中
将plantuml图表作为图像包含在您的markdown文件中。 图像源指向内置代理参数的plantuml服务器 (具体介绍请参见:http://plantuml.com/server)
# 示例标记 ![我的图表](https://raw.githubusercontent.com/schlothauer-wauer/jsoncodegen/master/docs/main_structure.puml)
所引用的puml必须是可访问的