Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

can i do org-babel-execute ? #92

Open
huangyg11 opened this issue Apr 22, 2019 · 7 comments
Open

can i do org-babel-execute ? #92

huangyg11 opened this issue Apr 22, 2019 · 7 comments

Comments

@huangyg11
Copy link

I can't execute the plantuml code insdie org src block directly.

what I mean by directly is inside the org buffer, and display the result in the #result block.

By now I can only execute the code only in separate plantuml buffer (by ctrl-c ') .

I have check the issue #53 but it doesn't help

@skuro
Copy link
Owner

skuro commented May 6, 2019

That's not currently supported. It would require a good amount of code to make that happen so that your preview is displayed inline in your org sources (e.g. properly handling image vs text output). Help appreciated.

@huangyg11
Copy link
Author

I used ob-plantuml.el before switching to plantuml-mode.

ob-plantuml.el generate image and save to file system. Then it insert a file link to the result block, and invoke org-display-inline-image

@skuro
Copy link
Owner

skuro commented May 6, 2019

good tip, thanks. I was actually looking into ob-plantuml.el myself. It's a good starting point for what we need to do here

@Whalehunter
Copy link

What? This did not work?? Setting org-plantuml-jar-path which is available after:
(with-eval-after-load 'org (org-babel-do-load-languages 'org-babel-load-languages '((plantuml . t))))? I can C-c C-c and it fills up the result block. Maybe C-c C-x C-v for inline images...

http://eschulte.github.io/babel-dev/DONE-integrate-plantuml-support.html here is URL for the org-babel inclusion, as mentioned in #53

@huangyg11
Copy link
Author

I think you are actually using the ob-plantuml.el package.

@Whalehunter
Copy link

@huangyg11 Sure, its included in org-mode? I don't get what it is you want then?

@chaoky
Copy link

chaoky commented Jul 1, 2021

this is already working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants