emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] ox-html does not export captions of source blocks without lang


From: Kaushal Modi
Subject: Re: [BUG] ox-html does not export captions of source blocks without language
Date: Wed, 14 Dec 2022 16:51:30 -0500

On Wed, Dec 14, 2022, 4:44 PM Johan Bolmsjö <org-mode@johan.bitmaster.se> wrote:
** Description

The caption "Caption 1" is not exported by ox-html in the following
source block.

#+caption: Caption 1
#+begin_src
foo bar baz
#+end_src

The begin_src block always requires a "language" as far as I know. If you don't want to specify a language, you can use #+begin_example instead. 

You can even do "#+begin_src text".

It's a different issue as to why you are seeing a different behavior between the two exporters. 

reply via email to

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