Bug 480128 - Preview with pandoc and filter don't support real time update
Summary: Preview with pandoc and filter don't support real time update
Status: CONFIRMED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.4
Platform: NixOS Linux
: NOR minor
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 10:44 UTC by hatchchien
Modified: 2024-07-07 01:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
failing output (87.41 KB, image/png)
2024-01-21 10:44 UTC, hatchchien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hatchchien 2024-01-21 10:44:32 UTC
Created attachment 165096 [details]
failing output

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Using Pandoc as the preview engine and the filter pandoc-plantuml-filter. If I paste a premade plantuml bloc, the preview is perfect. But if I edit the block, I get an image not found in the preview. However, I checked and Pandoc generated the image. I can find the picture in my personal directory


STEPS TO REPRODUCE
1. use the preview engine pandoc
2. add the custom parameter --filter pandoc-plantuml (with the filter installer and plantuml installed)
3. past the example : 
```plantuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
```
4. modify anything in the example which does not break UML syntax

OBSERVED RESULT

The diagram is not displayed, and instead you get a picture not found replacement. 

EXPECTED RESULT

Get the diagram updated and shown.