public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: user clickable checkbox?
Date: Thu, 19 Jan 2023 15:48:05 -0500	[thread overview]
Message-ID: <a19e6398-6765-5b57-8a1a-963ccc70c48f@reagle.org> (raw)
In-Reply-To: <871qnqmg1t.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>

Thanks Albert. That works. I create an issue that checklists be enabled by default here:

https://github.com/jgm/pandoc/issues/8562



On 1/19/23 15:19, Albert Krewinkel wrote:
> Just for completeness, here's a slightly better version, already
> placed in the YAML metadata:
> 
>      ---
>      include-after: |
>        ``` {=html}
>        <script type="text/javascript">
>          document.addEventListener('DOMContentLoaded', () => {
>            document.querySelectorAll("input[disabled]")
>                    .forEach(x => { x.disabled = false; });
>          });
>        </script>
>        ```
>      ---
> 
>      - [x] Done
> 
> 


      parent reply	other threads:[~2023-01-19 20:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18 20:22 Joseph Reagle
     [not found] ` <005cdbc0-3b07-b54c-4a6c-78199afe7146-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2023-01-18 20:47   ` Albert Krewinkel
     [not found]     ` <87tu0nmuvt.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2023-01-18 21:30       ` Joseph Reagle
     [not found]         ` <9311682a-dbde-7898-660e-b83f5da11504-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2023-01-18 22:58           ` Albert Krewinkel
     [not found]             ` <87pmbbmont.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2023-01-19 12:39               ` Joseph Reagle
2023-01-19 20:19               ` Albert Krewinkel
     [not found]                 ` <871qnqmg1t.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2023-01-19 20:48                   ` Joseph Reagle [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a19e6398-6765-5b57-8a1a-963ccc70c48f@reagle.org \
    --to=joseph.2011-t1oy19wchswdnm+yrofe0a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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.
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 NNTP newsgroup(s).