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: Html export custom container with attribute
Date: Sat, 12 Dec 2020 21:12:53 -0600	[thread overview]
Message-ID: <CA+pajWJrbEBFViy0izfCb6AKuKGSejNcUMZx0331O5YSkG90ag@mail.gmail.com> (raw)

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

I know I can have a headline render to a custom container during export to
html with a property eg HTML_CONTAINER: details

But what If I want an attribute to set the state? Specifically I want the
container to be `<details open>` in some situation and just plain
`<details>` in some others.

What are my options?

Thanks a lot,

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

                 reply	other threads:[~2020-12-13  3:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

  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+pajWJrbEBFViy0izfCb6AKuKGSejNcUMZx0331O5YSkG90ag@mail.gmail.com \
    --to=gmauer@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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