From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gjLaCviG1V8BaQAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 03:14:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eFodBviG1V8GUwAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 03:14:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E1BD940481 for ; Sun, 13 Dec 2020 03:13:59 +0000 (UTC) Received: from localhost ([::1]:42428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koHpe-0008Lb-0i for larch@yhetil.org; Sat, 12 Dec 2020 22:13:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koHoq-0008LT-IS for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 22:13:08 -0500 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:46329) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koHoo-0004qb-3e for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 22:13:07 -0500 Received: by mail-ot1-x334.google.com with SMTP id w3so12298863otp.13 for ; Sat, 12 Dec 2020 19:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=9/k7QdcQNiVCvbycRaFYQb9RbWIIAKJ/DufSX3HWr3c=; b=QBscp1qPE83GyveuFbIO5KagAc5UHL62GoXvu7RP1U1qXXSS0hbLoX+RNr0YVFuD6Q Iewh8ff2gzM2s+goAIdnBEsAQTk7V7kdBPCYtSLDf+cS60DZHcCQZbBCZiz82KMmYtJm 60YElvS/r9qclSW+tdKMcWuH5IIFmBJxTOgdBiQrWwq0y7a9HMK8rhulymzyEdrdN/RK vgkGME519fJOEyhywnbgv3+Py8Wj26Ssxiat5uIl76ppNbJTLTLJkOFcVYIbMSX5N/3Z Rrl26UydCnG7GKYaiffVEduWZqBC1UFaDF6gQjAu+jZXI+EjR12TOiDtvAI1HovODO66 1WSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=9/k7QdcQNiVCvbycRaFYQb9RbWIIAKJ/DufSX3HWr3c=; b=eSS+SQFrM8KdGvlz+8Ae/6BxkgRFtyC2qwjvW6juNe2ou9S8fB739SO1P4lUT14tIy qk/2dPQGq1S29QBReocrRfERsE648qVdiOfJpUehhSqWPDHGbkAE9cKo9CVUw1VGqSZm 5n9TRyudTxEVNz/GvvWqt5dLKrjHGxa1XlY/3+4a/E1rXAeJrTKabjUuHN3qCQk4nXnh WJqq5a0GlpMzbVfmDQtzRhEAunO7rXY23mVFIC9alY7wdHy67t0RS9IAU7kY866TVl5R HGio4sa5CwJ9uuxJ3kHIwrHIifaKvSdhVkWiAHPoMBHqOiyV+ViIRkqme4FjVpgEMGYn ub7g== X-Gm-Message-State: AOAM531OZz2opl1KLkCArgMkDqNnHcTaLdFtafyljGg5GwMfwWgpMwTr CLUsJoDhATn1shXcq8UzZhfrb4FiDotlkOBJ2WH0lWecwis= X-Google-Smtp-Source: ABdhPJwt+6ZfAw2ebZ0VZXPUBP6TP2y1qB9tHxQ8uJje3OLOfSK+9+mjK7zClfc+1jUOmWUT3h8k8mgyPVANwAtgx8M= X-Received: by 2002:a05:6830:1d8e:: with SMTP id y14mr15133908oti.356.1607829184050; Sat, 12 Dec 2020 19:13:04 -0800 (PST) MIME-Version: 1.0 From: George Mauer Date: Sat, 12 Dec 2020 21:12:53 -0600 Message-ID: Subject: Html export custom container with attribute To: emacs-orgmode Content-Type: multipart/alternative; boundary="0000000000005fffbe05b64fe706" Received-SPF: pass client-ip=2607:f8b0:4864:20::334; envelope-from=gmauer@gmail.com; helo=mail-ot1-x334.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: gmauer@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=QBscp1qP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8E1BD940481 X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9NCA1Wra8cLo --0000000000005fffbe05b64fe706 Content-Type: text/plain; charset="UTF-8" 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 `
` in some situation and just plain `
` in some others. What are my options? Thanks a lot, George --0000000000005fffbe05b64fe706 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 w= ant the container to be `<details open>` in some situation and just p= lain `<details>` in some others.

What are my= options?

Thanks a lot,
George
--0000000000005fffbe05b64fe706--