#+CAPTION: Lisp is a language of timeless elegance.

Export as HTML will look something like this (depending on CSS):


I just want

Lisp is a language of timeless elegance

to appear under the image. How can I get rid of the numbering?

3 Answers 3


You may not be able to easily influence the Org export itself, but you can still remove the figure number with some CSS:

.figure-number {
    display: none;


  • Clever. Note that this does get rid of both "Figure: " and the number...
    – wasamasa
    Oct 24, 2015 at 13:37
  • @wasamasa Yep, which is what I wanted in the original question =) Oct 24, 2015 at 13:43
  • Ah, I did read it too quickly to notice.
    – wasamasa
    Oct 24, 2015 at 18:00

I'm afraid you can't influence this in the HTML export (as opposed to the LaTeX export which allows adding arbitrary captioning code) because the behaviour is hardcoded in Org's org-html-paragraph:

(if (not (org-string-nw-p raw)) raw
   "<span class=\"figure-number\">"
   (format (org-html--translate "Figure %d:" info)
            (org-element-map paragraph 'link
              'identity info t)
            info nil 'org-html-standalone-image-p))
   "</span> " raw))

Therefore, the only alternative I can imagine is using raw HTML:

<div class="figure">
<p><img src="https://imgs.xkcd.com/comics/lisp_cycles.png" /></p>
<p>Lisp is a language of timeless elegance</p>

Did you consider handing in a bug report with M-x org-submit-bug-report?

  • 1
    I'll consider it – this is definitely something that should be configurable from an Org-ish workflow – but I'll draw attention to the workaround in my answer =) Oct 24, 2015 at 13:17

Building on Sean Allred's answer, this worked great for me (no need to link to / tweak external style sheet, e.g. for a one-off use):

.figure-number {
    display: none;

#+CAPTION: Lisp is a language of timeless elegance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.