Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

hope to surpport plantuml for code block in markdown format #1110

Closed
hqzxjczx opened this issue May 27, 2019 · 3 comments
Closed

hope to surpport plantuml for code block in markdown format #1110

hqzxjczx opened this issue May 27, 2019 · 3 comments

Comments

@hqzxjczx
Copy link

@gcushen

PlantUML is a component that allows to quickly write :

  • Sequence diagram
  • Usecase diagram
  • Class diagram
  • Activity diagram (here is the legacy syntax)
  • Component diagram
  • State diagram
  • Object diagram
  • Deployment diagram
  • Timing diagram

The following non-UML diagrams are also supported:

  • Wireframe graphical interface
  • Archimate diagram
  • Specification and Description Language (SDL)
  • Ditaa diagram
  • Gantt diagram
  • MindMap diagram
  • Work Breakdown Structure diagram
  • Mathematic with AsciiMath or JLaTeXMath notation

for example, the code below will render a picture:

Bob->Alice : hello

@gcushen
Copy link
Collaborator

gcushen commented May 27, 2019

Closing as PlantUML is not client side JS, also it's not currently supported by Hugo even if PlantUML has been manually installed locally: gohugoio/hugo#796.

The recommendations for diagramming can be found here: https://sourcethemes.com/academic/docs/writing-markdown-latex/#diagrams

Also, I have opened #1111 to consider integrating Mermaid.js for generating diagrams.

@gcushen gcushen closed this as completed May 27, 2019
@pdugas
Copy link

pdugas commented Nov 16, 2020

Couldn't calls to PlantUML's public server be used to generate the images into resources/_gen at "compile" time? Or is there a rule against building using external services? If not, I may look into this as I've gotten spoiled with the feature at GitLab.

@dkarlovi
Copy link

dkarlovi commented Dec 9, 2020

@gcushen Not sure why this was closed?

Closing as PlantUML is not client side JS

PlantUML can generate SVG or PNG files at build time, which could then be ingested like any other SVG/PNG file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants