emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: George Mauer <gmauer@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Why are some headings html exported as lists while others aren’t?
Date: Wed, 9 Dec 2020 00:04:12 -0600	[thread overview]
Message-ID: <CA+pajWJfxfT9ockm26+=Fs+Zx9AEzYJ_j6GB7vesOY=SF4VDUA@mail.gmail.com> (raw)

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

I am practicing with org->html conversion by trying to export an html
resume.

I have the following

* Resume
** About
   :PROPERTIES:
   :HTML_CONTAINER: header
   :END:
*** George Mauer
    :PROPERTIES:
    :HTML_CONTAINER: h1
    :END:
*** Contact
    :PROPERTIES:
    :HTML_CONTAINER: article
    :HTML_CONTAINER_CLASS: contact
    :END:
**** Location
     :PROPERTIES:
     :HTML_CONTAINER: aside
     :HTML_CONTAINER_CLASS: city-state
     :END:
     New Orleans, LA
**** Email
     :PROPERTIES:
     :HTML_CONTAINER_CLASS: email
     :END:
     [[mailto:gmauer@gmail.com][gmauer@gmail.com]]
**** Blog
     :PROPERTIES:
     :HTML_CONTAINER_CLASS: blog
     :END:
     [[http://georgemauer.net][georgemauer.net]]
**** LinkedIn
     :PROPERTIES:
     :HTML_CONTAINER_CLASS: linkedin
     :END:
     [[https://www.linkedin.com/in/george-mauer/][LinkedIn]]
**** StackOverflow
     :PROPERTIES:
     :HTML_CONTAINER_CLASS: stackoverflow
     :END:
     [[https://stackoverflow.com/users/5056/george-mauer][StackOverflow]]
**** GitHub
     :PROPERTIES:
     :HTML_CONTAINER_CLASS: github
     :END:
     [[https://github.com/togakangaroo/][GitHub]]


And the following .dir-locals.el

((org-mode . ((org-export-with-section-numbers . nil)
              (org-html-html5-fancy . 't)
              (org-export-with-toc . nil)
              (org-html-postamble . nil))))


When I export this to html the HTML_CONTAINER and HTML_CONTAINER_CLASS
properties are working for the Contact and my name and About headers, but
all the headers underneath Contact appear as `ul` with no classes.

It would seem that there's some sort of "level" beyond which heading are
not customizable.

Is that how it works? I'm not finding a variable I can override if it is.

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

             reply	other threads:[~2020-12-09  6:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09  6:04 George Mauer [this message]
2020-12-09  6:10 ` Why are some headings html exported as lists while others aren’t? Kyle Meyer
2020-12-09  6:28 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+pajWJfxfT9ockm26+=Fs+Zx9AEzYJ_j6GB7vesOY=SF4VDUA@mail.gmail.com' \
    --to=gmauer@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).