emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* html export entire code block including template?
@ 2019-04-16  5:08 Lawrence Bottorff
  2019-04-22 15:30 ` Lawrence Bottorff
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Bottorff @ 2019-04-16  5:08 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

I'm doing this:

#+begin_example
#+begin_src emacs-lisp :var table=sandbox :exports both
  (message "%S" table)
#+end_src
#+end_example

to force html export into displaying the entire block, including the code
block wrapper. Is there a more elegant way, perhaps in the #+begin line to
tell export to include even the wrapper?

LB

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

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

* Re: html export entire code block including template?
  2019-04-16  5:08 html export entire code block including template? Lawrence Bottorff
@ 2019-04-22 15:30 ` Lawrence Bottorff
  0 siblings, 0 replies; 2+ messages in thread
From: Lawrence Bottorff @ 2019-04-22 15:30 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

Just found it here
<https://stackoverflow.com/questions/7431167/escaping-org-mode-example-block-inside-of-an-example-block/7462884#7462884>
.

On Tue, Apr 16, 2019 at 12:08 AM Lawrence Bottorff <borgauf@gmail.com>
wrote:

> I'm doing this:
>
> #+begin_example
> #+begin_src emacs-lisp :var table=sandbox :exports both
>   (message "%S" table)
> #+end_src
> #+end_example
>
> to force html export into displaying the entire block, including the code
> block wrapper. Is there a more elegant way, perhaps in the #+begin line to
> tell export to include even the wrapper?
>
> LB
>

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

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

end of thread, other threads:[~2019-04-22 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16  5:08 html export entire code block including template? Lawrence Bottorff
2019-04-22 15:30 ` Lawrence Bottorff

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).