-
Notifications
You must be signed in to change notification settings - Fork 15
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
"htmlDefaultSkipSrc" ignores "ditaa" I think #90
Comments
Hmmm |
I see the problem... defaultPlist = sets.Get("orgBabelDefaultHeaderArgs",":session none :results replace :exports code :cache no :noweb no") The plist has no knowledge on if this is the default or if this is explicitly set at the moment and it needs that knowledge to do this right. |
You can of course set exports locally as well and that will work around this as well. I also revamped the html exporter when I wrote the revealjs export option and I forgot to port the full option to the newer version... so only the revealSkipSrc option is respected in the new exporter, which I will also ratify. Thanks for catching this, and using the plugin. |
Thanks for the rapid response and workaround. What a fabulous org implementation for Sublime. EDIT: I can't figure this out lol. I added this to my persona; settings:
thinking that would solve it but same result. I probably didn't understand your instructions properly |
Sorry you can use orgBabelDefaultHeaderArgs to get around this: If you set it in your settings file: Then your source blocks will not be exporting code. OR you can add a plist above each source block (the ditaa source) with :exports none Either of those will work. I have also pushed 1.2.56 tonight which should have a patch (hopefully, I haven't tested it that much as I have been distracted of late) |
Version 2.0.0 (which is what I am currently working on)
Orgs also comes with a pseudo plugin setup and I am hoping I can find others to contribute. It has the ability to support export / import plugins, polling importers and other things. It has integrations for jira, google calendar and other systems that can pull data from those sources into org files and in some cases synchronize back to those systems for a semblance of real GTD like behaviour. Eventually I hope to have a mu4e like setup and an isync like setup as I really miss org mode / likability / integration with my email. Anyways. I will shut up, but that work will take a bit, but I hope to really open up the possibility for org mode everywhere. I have never liked having to cobble together a mobile phone way of syncing with my org data, my hope is with the portal / orgs I can really help with accessing my lists everywhere. |
Describe the bug
My settings includes the default:
but when generating HTML it includes the source:
To Reproduce
Place this in an org file:
Select org export to HTML and open the HTML in a browser
Expected behavior
Only the rendered diagram (that does appear in sublimetext and is generated on disk) show up in the HTML file.
Platform:
** Sublime debug console output**
['java', '-jar', 'C:\Users\\bin\ditaa.jar', 'C:\Users\\AppData\Local\Temp\tmpoelc8lkx.ditaa', '-o']
EXPORT STYLE: blocky
EXPORT COMPLETE: C:\Users***\notes.html
The text was updated successfully, but these errors were encountered: