0

I want integrate Plantuml in Gitea

I've installed a docker image of Gitea https://docs.gitea.io/en-us/installation/install-with-docker/ which is working properly.

To integrate Plantuml in Gitea I'm following this guide: https://docs.gitea.io/en-us/administration/customizing-gitea/. Once done plantuml it's not working: plantuml diagram is not rendered. In fact writing a plantuml script

@startuml
Bob -> Alice : hello
@enduml

in a wiki page I would expect this diagram script rendered but in the wiki page I see only the text of the script.

I've placed

I restarted also the docker image, but nothing changes. Is the path /data/gitea/public wrong? Am I missing something?

Roberto
  • 11
  • 1
  • "But it's not working" -- for people to answer, your question needs more detail. What have you tried? What errors are you getting, etc.? – Fuhrmanator May 08 '23 at 11:02
  • I mean that the plantuml script is not renedered in the wiki page. – Roberto May 08 '23 at 12:09
  • You should show the entire source of your wiki page (please don't post images of source) that is not rendering, the result of what is rendered, as well as maybe some logging information from your docker when the page is rendered. You need to provide more info from debugging on your end to narrow down the problem. Docker containers are like a black box, and there are many things that must be properly set. – Fuhrmanator May 08 '23 at 13:59
  • FIXED removing RequireHighlightJS : see https://github.com/go-gitea/gitea/pull/19615 – Roberto May 08 '23 at 14:20
  • It seems like you solved the problem? You can answer your own question with the details if you want. Maybe the documentation you followed was not up to date? You can also propose a change to that so others won't make the same mistake? – Fuhrmanator May 08 '23 at 20:00

1 Answers1

0

FIXED removing RequireHighlightJS : see Gitea - PlantUML

Roberto
  • 11
  • 1
  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 09 '23 at 09:53