emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Need clarification
@ 2017-06-16  7:17 Fabrice Popineau
  2017-06-16  7:39 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Popineau @ 2017-06-16  7:17 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

Hi,

I have this src code block:

#+BEGIN_SRC python :exports output :results output html
print('<div class="foo"><p>Foo!</p></div>')
#+END_SRC


I have setup my own mechanism to export org files, based almost on
#'org-export-as
but I can't get rid of the src block on export.
I must be overlooking something.
At what point is it decided that the src code block shouldn't appear in the
exported document ?


Fabrice

[-- Attachment #2: Type: text/html, Size: 687 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Need clarification
  2017-06-16  7:17 Need clarification Fabrice Popineau
@ 2017-06-16  7:39 ` Thomas S. Dye
  2017-06-16  8:24   ` Fabrice Popineau
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2017-06-16  7:39 UTC (permalink / raw)
  To: Fabrice Popineau; +Cc: emacs-orgmode@gnu.org

Aloha Fabrice,

Fabrice Popineau writes:

> Hi,
>
> I have this src code block:
>
> #+BEGIN_SRC python :exports output :results output html
> print('<div class="foo"><p>Foo!</p></div>')
> #+END_SRC
>

I think the problem might be :exports, which takes one of =code=,
=results=, =both=, =none=.

hth,
Tom

--
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Need clarification
  2017-06-16  7:39 ` Thomas S. Dye
@ 2017-06-16  8:24   ` Fabrice Popineau
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Popineau @ 2017-06-16  8:24 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

2017-06-16 9:39 GMT+02:00 Thomas S. Dye <tsd@tsdye.com>:

> Aloha Fabrice,
>
> Fabrice Popineau writes:
>
> > Hi,
> >
> > I have this src code block:
> >
> > #+BEGIN_SRC python :exports output :results output html
> > print('<div class="foo"><p>Foo!</p></div>')
> > #+END_SRC
> >
>
> I think the problem might be :exports, which takes one of =code=,
> =results=, =both=, =none=.
>
>
Oh sorry, bad edit from me.

Actually, I can put whatever I want, comprised =none= and I still get the
src block in the export.

So something is overriding :exports but I can't (yet) find what.

Regards,


> hth,
> Tom
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>

[-- Attachment #2: Type: text/html, Size: 1401 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-16  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16  7:17 Need clarification Fabrice Popineau
2017-06-16  7:39 ` Thomas S. Dye
2017-06-16  8:24   ` Fabrice Popineau

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).