From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25477 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: boardtc Newsgroups: gmane.text.pandoc Subject: Easy collapsible sections with markdown Date: Wed, 17 Jun 2020 04:12:13 -0700 (PDT) Message-ID: <7309650e-0a39-4912-b027-dde817edd6d7o@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2165_772651025.1592392333565" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93143"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCK2N4F34UDRBDXVU73QKGQESRIKLDA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 17 13:12:19 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f183.google.com ([209.85.167.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jlVzP-000O6G-9P for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 17 Jun 2020 13:12:19 +0200 Original-Received: by mail-oi1-f183.google.com with SMTP id n130sf847646oig.9 for ; Wed, 17 Jun 2020 04:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=C2t1sGgpW+96hIBzS69qw2TVa1xkvteSdkxmgX947wA=; b=jcRNMVJ2SiuXmZUjiIKbzZGzYpcPUNBWszgELGLczx1B0npc/mBrQGwfhLarU8zRa1 gh09qM0oMkFd/ul20nBYJxkPg6HU6T1p2g3Yw1vF6i/RkXHYo9Y3UXYnYnoe9rC/aE3f p7G4uXz1rm88gnWYVV+7pBaFU+iPj2weg/XZ8itf6FYvwi6M41fOIiJOq8VhrRoVjpGT X+C/5wCKfv1MqY/EXamwSzJ2JNdqhgsdOpa+MHJOblaNzNgd7Ohgj7IZIbp7c5OY4sq/ HziKOGmfvQajb+5ffrYl4kBpczQ8WWqu0DfSWb29yuDQ62PHf+SAT5nX+nQpwV0H+qTc JnsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=C2t1sGgpW+96hIBzS69qw2TVa1xkvteSdkxmgX947wA=; b=S5V8THK2LEwz/DQcF8bpUzPMUcyfcXfSTbD0fN/8sQyp857Q+NQBZflpZvJ7r99k3b 0swRJhbbkZJlquJKfQIKFvtgywbsfFBnPI9BDc0rgITj7zdU6ElA2TEo7Ar+OEONMjv7 GZcYHxmnlnPj4NuE3brmun79ag/1mHrN7UldhEhqW8nWF9D2e/0DsXgZVQY/kuDFEZOG Imas6TwI2ooTTxNu3rTm+vnR7CgudjzR8G0R/DbfHvpZHNd4+xDb2xBQKUFXvxDB8Nhe aKw9qFxjx13XXndo6OrXIzTT6cHuI4QlmyqMEzKhNIuKPSbcTR28Zacl1TmeficvIg01 HmQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=C2t1sGgpW+96hIBzS69qw2TVa1xkvteSdkxmgX947wA=; b=JidKadDqG2UTfzUdqEvphqPE0kbeJRhImV6I0gwlyQMsbz+86RSEAoqQyvGbamvAZb kt8Z41+08IAwjZlShZ+kq0ATikszstkT6NDE1K81JNqTaxXHZJCUHbiIYP1xVpL2GzIL WCSKUI9wiyK3D/XLJefKEnaNKE7c34ZobtJLNkBQ5lq5OMx5hcz+uMfzuPWrhMWaJfhl AUIHk+PBGT0Hku/cjh4gJF+Qhch8N4LgKPW4dz8uQ3kwchOxVYrBby1C8Exr5ZqLgpGb QXSR6CvksHnMKVgmuc5YHeBrrqZKe8+dbCLGrJIuQRBww7wcS2801ixPT91lAJnT19a1 v9GQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5301sOnEFLBy5+cuELSMPU4YP7svWcYa1CTFFuEuNzFN3Syu/rTt g6JuYIx6JYAVsLYWP2UQ/18= X-Google-Smtp-Source: ABdhPJxmEDbdMhL39+izJwxazXcMMZ0r5IwuJwd9OH28xZGld28ql5AWWhNS8syZzOlAgL4+MkzU2A== X-Received: by 2002:a4a:5744:: with SMTP id u65mr6188024ooa.1.1592392338284; Wed, 17 Jun 2020 04:12:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:ed48:: with SMTP id l69ls350395oih.7.gmail; Wed, 17 Jun 2020 04:12:14 -0700 (PDT) X-Received: by 2002:aca:55c1:: with SMTP id j184mr6620689oib.25.1592392334240; Wed, 17 Jun 2020 04:12:14 -0700 (PDT) X-Original-Sender: boardtc-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:25477 Archived-At: ------=_Part_2165_772651025.1592392333565 Content-Type: multipart/alternative; boundary="----=_Part_2166_1090895971.1592392333565" ------=_Part_2166_1090895971.1592392333565 Content-Type: text/plain; charset="UTF-8" Probably everyone know how to do this. I had a long first section in my markdown that I could fold in my editor but found myself scrolling in the html and thought wouldn't it be handy if that was folded to. I had a google and found the github page with instructions on how to do it, wrapping in a details tag: # A collapsible section with markdown
Click to expand! ## Heading 1. A numbered 2. list * With some * Sub bullets
I added it, did a Pandoc conversion and very unexpectedly it worked perfectly!!! Fantastic :-) Googling "collapsible section Pandoc markdown" did not find any Pandoc help but then looking at the HTML source I leaned about the HTML details tag and it was not markdown at all. Everyday is a schoolday!" -- 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/7309650e-0a39-4912-b027-dde817edd6d7o%40googlegroups.com. ------=_Part_2166_1090895971.1592392333565 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Probably everyone know how to do this.

=
I had a long first section in my markdown that I could fold in m= y editor but found myself scrolling in the html and thought wouldn't it= be handy if that was folded to.

I had a google an= d found the github page with instructions on how to do it, wr= apping in a details tag:

# A collapsible section w=
ith markdown
<details>
  <summary>Click to expand!</summary>
 =20
  ## Heading
  1. A numbered
  2. list
     * With some
     * Sub bullets
</details>

I added it, did a Pandoc conversion and very unexpe= ctedly it worked perfectly!!! Fantastic :-)

Googling "collapsib= le section Pandoc markdown" did not find any Pandoc help but then look= ing at the HTML source I leaned about the HTML details tag and it was not markdown at a= ll.

Everyday is a schoolday!"


=C2=A0

--
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/7309650e-0a39-4912-b027-dde817edd6d7o%40googlegroups.= com.
------=_Part_2166_1090895971.1592392333565-- ------=_Part_2165_772651025.1592392333565--