[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid "Listing 1" on all code examples in org2blog export to
Re: How to avoid "Listing 1" on all code examples in org2blog export to wordpress?
Sat, 28 Dec 2019 21:32:11 +0100
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)
>>>>> Steinar Bang <address@hidden>:
>> Platform: GNU Emacs 26.3 (build 1, i686-w64-mingw32) of 2019-08-29
>> Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @
>> Org2Blog 1.1.1
>> When I export to wordpress I get "Listing 1" on all text or code
>> examples in the wordpress blog, se e.g.
>> Is there a way to lose the "Listing 1" text completely?
> I haven't been able to remove them from the export, which would have
> been my preferred solution,
The two lines of ox-html.el that produce "Listing 1", are:
I think the second one can be made empty by giving the code example an
empty caption (and this is probably also the one hidden by the CSS?)
But I have one case where neither the CSS suppression or an empty
caption works. It still shows the useless and meaningless "Listing 1".