emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Outline DOM?
@ 2015-09-02 10:51 Lawrence Bottorff
  2015-09-02 11:02 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Bottorff @ 2015-09-02 10:51 UTC (permalink / raw)
  To: emacs-orgmode

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

When I do an HTML export, I notice that my headings are all converted from
stars to numbers -- rather deeply. Is there an underlying DOM-like object
that you can glean the org buffer's hierarchical structure from?

LB

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Outline DOM?
  2015-09-02 10:51 Outline DOM? Lawrence Bottorff
@ 2015-09-02 11:02 ` Rasmus
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2015-09-02 11:02 UTC (permalink / raw)
  To: emacs-orgmode

Lawrence Bottorff <borgauf@gmail.com> writes:

> When I do an HTML export, I notice that my headings are all converted from
> stars to numbers -- rather deeply. Is there an underlying DOM-like object
> that you can glean the org buffer's hierarchical structure from?

Yeah, (org-element-parse-buffer) will give you something like a DOM or an
AST.

Maybe you just want to set the H OPTION though, e.g.:

      #+options: h:3

Rasmus

-- 
A page of history is worth a volume of logic

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-02 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02 10:51 Outline DOM? Lawrence Bottorff
2015-09-02 11:02 ` Rasmus

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).