From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32167 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Hodgson Newsgroups: gmane.text.pandoc Subject: Customising toc in HTML Date: Sun, 12 Feb 2023 06:16:48 -0800 (PST) Message-ID: <6035b070-9f83-41e3-b392-5f6970e36757n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6144_1050166061.1676211408489" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39589"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCEYTH5K2IARBUPJUOPQMGQEBN5TM2I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Feb 12 15:16:53 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f57.google.com ([209.85.219.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pRD9w-000A9h-TH for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 12 Feb 2023 15:16:52 +0100 Original-Received: by mail-qv1-f57.google.com with SMTP id ly4-20020a0562145c0400b0054d2629a759sf5615091qvb.16 for ; Sun, 12 Feb 2023 06:16:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=kNXgeeXr/YIk+GFTM0Lvt8os+L3BolpmO79AY87DElM=; b=I2Wg7jadpidCs7PGO1SbfN2sbAwfhrQbHukC6orXCAnYPfRqTkITvEgYcGq3TyUYMi 2g2+hbdY3aRq+5ViWZ50n4w61+JHAIVlwVyxd6Xe8ZHMB18JKQIy5/R98/ejtKDdMUGC BtZyTcP/ZRnvY7Zpi5zTbT8aiTv5mutD4MVadfBY8bdW3yxqT9B60Au5vcNcb49TVXQT OCeU68eFWxsXQjmARinQjFysdLAim/Vo+Ahity4xjUeq+gAOiQvqo9aZ4UCfcp+pLUon lz+8m2cR41TVTPfOCPGKwpHH0dYfmLszKpOfWt26OYI1t6l5hI7pbrnPhqElv3PQXw+C bfpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=kNXgeeXr/YIk+GFTM0Lvt8os+L3BolpmO79AY87DElM=; b=WCBnkvT0/L8WFaYlmJYYjBlgQme17gFNvbV/z+bHb2LVtKRgMIWOVM4aq3l7HLVtuE daImRBOQ9xn15s/aKTnYRLUe6SXAhO6y4svnxn5gXPvcAAeWrNNMA2VQa5ZgiYTMFYRW MDe3jEGz4epVCAromPVfGeRi6+q/oUlqT/QVnf5PF34jfJlzM7gOENXbI7/n5BROdnp+ jlqt3BjWVMwes3MQxh6fwHbgZD2oPoLsMeM/HPSggg6BB+yfCX7sGx/11gXUyLX32hWp 0q2l8iDx6IaNyyU+Ks6aRPHX2mDJ8R9LbYCHDYZRLTLxXqCTBqODHaUEgOYmh7yQoI4A USjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=kNXgeeXr/YIk+GFTM0Lvt8os+L3BolpmO79AY87DElM=; b=dfVsxanyJpBhffiNh0BqlehoZWXvG9rTWRa41DjOsXh83yyWMEOfbjILxm2IgesSgW sxqmS95aXPHadJek3kWGdPIN5idzs0X02iovN7TorI9q2VyDgLMGK0oolYL6hvmBaxlu QceFj/nvmnVlaBOzpchdr3e0l7D/hFRZnvIIHcLXEHSkCJM2JtdEMS5qp+h5RzvqsHLN cp+dHyUnADUCQqmcdDEIue3U/Qo+30E673Nxgvk/2nbMfWU1li6L4ZqELqApsOp+NHfb TxlSIIk6KaTFgToTr6c4wti8bXfrdJB4DXx4m7JZ2oOFyWIBpC6eqM/4ExMePhEfePRH QCRg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKXlu2iLvC0rGDoTfAM42RJNzx9sHBlDT82phQWVP5x3vtI0d1P8 pYc3FfsEtNJMjx64FdwNks8= X-Google-Smtp-Source: AK7set+VcdTJXir6DWaPd3hmgZFel489hqdfNTUhBT1ZRn9X7yro4U91HjQV151r/EWSBGjWGNfGCg== X-Received: by 2002:a05:622a:2c1:b0:3b8:695b:aacd with SMTP id a1-20020a05622a02c100b003b8695baacdmr3212208qtx.269.1676211411856; Sun, 12 Feb 2023 06:16:51 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:68b:0:b0:3b8:130d:4473 with SMTP id f11-20020ac8068b000000b003b8130d4473ls10887852qth.10.-pod-prod-gmail; Sun, 12 Feb 2023 06:16:49 -0800 (PST) X-Received: by 2002:a05:622a:1a15:b0:3b8:4adb:c602 with SMTP id f21-20020a05622a1a1500b003b84adbc602mr3132512qtb.411.1676211409060; Sun, 12 Feb 2023 06:16:49 -0800 (PST) X-Original-Sender: thomas.hodgson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32167 Archived-At: ------=_Part_6144_1050166061.1676211408489 Content-Type: multipart/alternative; boundary="----=_Part_6145_568753495.1676211408489" ------=_Part_6145_568753495.1676211408489 Content-Type: text/plain; charset="UTF-8" Hi, I'm wondering whether there's a way to change the HTML for a table of contents. In particular, I'm wondering whether I could have something like this, instead of a unordered list: ``` ``` (I'm thinking about using , so I want the TOC to fit what will work with that.) Tom -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6035b070-9f83-41e3-b392-5f6970e36757n%40googlegroups.com. ------=_Part_6145_568753495.1676211408489 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm wondering whether there's a w= ay to change the HTML for a table of contents. In particular, I'm wondering= whether I could have something like this, instead of a unordered list:
```
<nav>
<span><a href=3D"#section-one"&g= t;Section one</a></span>
<span><a href=3D"#sectio= n-two">Section two</a></span>
</nav>
```


(I'm thinking about using <https://readable-css.freed= omtowrite.org/>, so I want the TOC to fit what will work with that.)

Tom

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/6035b070-9f83-41e3-b392-5f6970e36757n%40googlegroups.= com.
------=_Part_6145_568753495.1676211408489-- ------=_Part_6144_1050166061.1676211408489--