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

2023-01-23 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Here is the plan to resolve this issue: >> >> 1. We update the manual allowing src blocks to have empty language spec > > See the attached patch. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d98ca046cc763

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

2023-01-16 Thread Ihor Radchenko
Ihor Radchenko writes: > Here is the plan to resolve this issue: > > 1. We update the manual allowing src blocks to have empty language spec See the attached patch. > 2. We update org-syntax document It turned out to be unnecessary. org-syntax document already declares block DATA to be option

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

2022-12-27 Thread Ihor Radchenko
Johan Bolmsjö writes: > ** 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 caption "Caption 2" is exported by ox-html in the following source > block. > > #+caption: Captio

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

2022-12-14 Thread Johan Bolmsjö
On Wed, Dec 14, 2022, at 22:51, Kaushal Modi wrote: > On Wed, Dec 14, 2022, 4:44 PM Johan Bolmsjö > wrote: >> 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

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

2022-12-14 Thread Kaushal Modi
On Wed, Dec 14, 2022, 4:44 PM Johan Bolmsjö 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