vnotex / vnote

A pleasant note-taking platform.
https://app.vnote.fun
GNU Lesser General Public License v3.0
11.6k stars 1.2k forks source link

PlantUML不支持ditaa格式 #1206

Open llasdqwe opened 4 years ago

llasdqwe commented 4 years ago

OS Version (操作系统): Windows

VNote Version (Help - About VNote - Version: )(VNote版本): 2.8.2,

Symptoms (表现): 开启plantUML功能后,基本的图片转换功能正常,但PlantUML不支持ditaa diagram格式显示,关于ditaa diagram的plantuml官网链接:https://plantuml.com/zh/ditaa

How to Repro (如何复现): 在文档里输入如下内容: ```puml @startditaa +--------+ +-------+ +-------+ | +---+ ditaa +--> | | | Text | +-------+ |diagram| |Document| |!magic!| | | | {d}| | | | | +---+----+ +-------+ +-------+ : ^ | Lots of work | +-------------------------+ @endditaa ```

结果显示为?PNG

tamlok commented 4 years ago

看plantuml的文档说明是只支持PNG格式,而VNote里面默认是处理成SVG格式,所以可能有问题。后面看一下。