emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-babel and empty code blocks : publishing html


From: Richard Riley
Subject: Re: [Orgmode] org-babel and empty code blocks : publishing html
Date: Thu, 09 Sep 2010 19:16:38 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Erik Iverson <address@hidden> writes:

> Eric Schulte wrote:
>> I'd think adding an ":exports none" header argument should be
>> sufficient.
>> 
>
> If the code block is empty, I doesn't appear so.
>
> If you put in a literal
>
> nil
>
> in the code block, then :exports none does as expected.
>
>> Best -- Eric
>> 
>> Richard Riley <address@hidden> writes:
>> 
>>> On my journal capture template I include a #begin_src and #end_src block
>>> as I frequently want to journal code. Being lazy I dont
>>> necessarily want to delete this block even if I have no code in that
>>> org-entry. Is it possible to suppress the output "nil" which is
>>> generated for the html export for empty code blocks?
>>>
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>> 
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

Thanks fellas.


-- 
☘ http://www.shamrockirishbar.com, http://www.richardriley.net

"Learning French is trivial: the word for horse is 'cheval' and
 everything follows thusly."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]