-
Notifications
You must be signed in to change notification settings - Fork 1
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
Can I custom PlantUML style by options? #5
Comments
嵌入式文档使用 Kroki 这种在线服务,对服务本身进行配置,或API传递自定义选项不是好方法。 建议将自定义选项写成代码的一部分,这样你的图表信息是一体便携的,前提是该图表库支持在代码里写选项。 以 PlantUML 为例,使用 !theme cerulean
rectangle "Main" {
(main.view)
(singleton)
}
... |
Embedded documentation Using an online service like Kroki, configuring the service itself, or API passing custom options is not a good idea. !theme cerulean
rectangle "Main" {
(main.view)
(singleton)
}
... |
kroki 本身应该是支持 theme 的
是不是 remark-kroki 只需要把 kroki 本身提供的 theme配置暴露出来就可以了呢 我没有自建,直接使用的官方服务,所以没办法自己配置 kroki 服务端。 |
无法理解你的问题,只要在图表文本中加入 实测自带主题,远程主题都能生效,所以现在是哪里不满足你的场景? |
ISAAC, Deep Sea, Graytone 是 PlantUML-styler 的私有实现,PlantUML 并不支持 |
这样啊,那我懂了,我以为是kroki自己实现的,谢谢你的解答 |
styles like ISAAC, Deep Sea, Graytone...etc
The text was updated successfully, but these errors were encountered: