Nick Dokos <nicholas.do...@hp.com> writes:

> Bernt Hansen <be...@norang.ca> wrote:
>
>> Nicolas Goaziou <n.goaz...@gmail.com> writes:
>> 
>> > Hello,
>> >
>> > Bernt Hansen <be...@norang.ca> writes:
>> >
>> >> I tried :results wrap but that didn't work for me.  If I add RESULTS to
>> >> my list of drawers then I can hide the block with TAB but I can't export
>> >> my diagrams to HTML anymore which isn't very satisfying.
>> >
>> > Why can't you? Wouldn't it be related to drawers configuration
>> > (org-export-with-drawers for example)?
>> 
>> Yes... but I don't think I can configure which drawers I get, and I
>> don't want my LOGBOOK drawer with all my clock lines in my export.
>> 
>
> The following exports JUNK drawers but not GARBAGE drawers - isn't that 
> exactly
> what you want? or am I misunderstanding?
>
> #+DRAWERS: JUNK GARBAGE
> #+OPTIONS: d:("JUNK")
>
> * foo
> hunoz
>   :GARBAGE:
>   what garbage is hidden here
>   :END:
> bar
>   :JUNK:
>   Hide some junk in here.
>   :END:
> baz
>
> Nick

Well sort of... except it was a wrapped PlantUML graphic which in a
drawer doesn't display inline in my HTML export. :)

I admit I didn't try hard to fix it though.

-Bernt

Reply via email to