emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivan Tadeu Ferreira Antunes Filho <ita@mit.edu>
To: KOKOU AFIDEGNON <kokou.afidegnon@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Where to customize the generated ID of html export? i.e outline-container-org
Date: Fri, 4 Sep 2020 14:57:04 -0400	[thread overview]
Message-ID: <CAHPpCdDGasJNW=LFz3=GP+FfBuPQJZioigJ9D0OdRJzREj-G8Q@mail.gmail.com> (raw)
In-Reply-To: <CAGcmBVVC+uPQdEHpCRn9ZvWL2uVhC2Doy5xmBgWnd-GPCDNq-Q@mail.gmail.com>

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

I use the following code to customize the ids:
http://ivanmalison.github.io/dotfiles/#usemyowndefaultnamingschemefororgheadings

It replaces the function 'org-export-get-reference' with something less
random.
You could take a similar approach, maybe substituting the function
responsible for creating the classes as well.
(I use Org mode 9.1.9, I haven't tested this code with more recent versions)


On Tue, Mar 3, 2020 at 8:07 PM KOKOU AFIDEGNON <kokou.afidegnon@gmail.com>
wrote:

> Hi,
>
> I want to replace the CSS and div layout with my custom layout from a
> theme i designed.
>
> how do i change the generated id and classes? i.e outline-container-org
> and outline-3?
> _______________________________________________
> Ita mailing list
> Ita@mit.edu
> http://mailman.mit.edu/mailman/listinfo/ita
>

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

  parent reply	other threads:[~2020-09-04 18:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04  1:05 Where to customize the generated ID of html export? i.e outline-container-org KOKOU AFIDEGNON
2020-09-04 14:33 ` Bastien
2020-09-04 18:57 ` Ivan Tadeu Ferreira Antunes Filho [this message]
2020-09-05  8:16   ` Bastien
2020-09-05 10:00     ` TEC

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='CAHPpCdDGasJNW=LFz3=GP+FfBuPQJZioigJ9D0OdRJzREj-G8Q@mail.gmail.com' \
    --to=ita@mit.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=kokou.afidegnon@gmail.com \
    /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).