Closed TeomanEgeSelcuk closed 1 year ago
Code blocks use backticks `, not single quotes '. Can you check your markdown?
See https://spec.commonmark.org/0.30/#fenced-code-blocks
Sorry about that. I see now that the plantuml exe command returns "http:' is not recognized as an internal or external command, operable program or batch file". Is your executable really an executable?
Sorry I failed to respond for a while. Could you clarify what you mean by when you say Is your executable really an executable?
I noticed the line 'http:' is not recognized as an internal or external command, operable program or batch file
in your logs, while your toml says you're using the shell version of plantuml. Looking further I see in the log the plantuml http server is called: Executing 'http://localhost:8080/plantuml...
. So your book.toml and output do not add up.
The 'http:' is not recognized
error only occurs when you have the --no-default-features
build of mdbook, which excludes plantuml server support. Rebuild/reinstall mdbook-plantuml with server support if you want to use the server:
Build from source: cargo build --release --no-default-features --features plantuml-server
Install with cargo: cargo install --no-default-features --features plantuml-server mdbook-plantuml
In the mean time I'll make sure to output an error with the above description when someone tries to run the plugin without server support while selecting the plantuml server as engine.
Fixed with #52
I cannot get to
PlantUML
diagrams to be downloaded into mdbook. I have locally downloaded theplantuml.jar
but I get an error when trying to view the diagrams on local host. I have tried both the server and local run examples from the documentation and they both dont work. How would I be able to fix this?OS: Windows 10 rustc 1.61.0 mdbook v0.4.18
Markdown File(The double quotes are single quotes in the .md file):
Local host Error:
output.txt error:
Contents of book.toml:
Directory Tree: