From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/7944 Path: news.gmane.org!not-for-mail From: BP Jonsson Newsgroups: gmane.text.pandoc Subject: Re: Unicode checkbox lists? Surely you're joking. Date: Fri, 25 Oct 2013 09:33:56 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec53963cae6ac0104e98bc539 X-Trace: ger.gmane.org 1382686433 21362 80.91.229.3 (25 Oct 2013 07:33:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 07:33:53 +0000 (UTC) To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" Original-X-From: pandoc-discuss+bncBDIY76M674FRBZN5VCJQKGQE2AML77A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 25 09:33:59 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qe0-f58.google.com ([209.85.128.58]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZbuA-0004BS-70 for gtp-pandoc-discuss@m.gmane.org; Fri, 25 Oct 2013 09:33:58 +0200 Original-Received: by mail-qe0-f58.google.com with SMTP id 1sf669174qee.23 for ; Fri, 25 Oct 2013 00:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=s+IBkFLsCNGyCswr4bbBhzlfa8M/BKYbRx40OwmdBmw=; b=hGv19x1JNZgvLJ7fqzdZY3D4xk4qNOEVO8H0V/OzbIPFKBAMmsV+cGAbXQaDPNn30t O8Sear5Kb8gb/BBnAHvMP5i9dwDDPVIBJnTYaCS3U09hHmAk3SQQJL9qRerF6vGPF0O1 GMQ7xIUzQkLZ0KyG6+1oKgyEqCB0tjdIu/6ceEbzUTZdoJ09mXJ+6bP/ho48Vw5NwYCs 2FbI3NpxOVfPt/eAOwvA/O3MEvLB+rQs7zktgHXWlEhA6C15MhTc7fiaXfS8LavKI33q IysKQ3e5joUGAJzYwFPI89pskmsn1Dwhj+kZLT0ycDkaTdSbwcdX9NwZibgJlz69DOuf LMpA== X-Received: by 10.182.158.2 with SMTP id wq2mr22068obb.10.1382686437305; Fri, 25 Oct 2013 00:33:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.142.6 with SMTP id rs6ls781975obb.48.gmail; Fri, 25 Oct 2013 00:33:56 -0700 (PDT) X-Received: by 10.182.126.137 with SMTP id my9mr1008644obb.13.1382686436947; Fri, 25 Oct 2013 00:33:56 -0700 (PDT) Original-Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [2607:f8b0:400e:c02::229]) by gmr-mx.google.com with ESMTPS id xi1si1529306pab.1.2013.10.25.00.33.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Oct 2013 00:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c02::229 as permitted sender) client-ip=2607:f8b0:400e:c02::229; Original-Received: by mail-pd0-f169.google.com with SMTP id q10so3603165pdj.14 for ; Fri, 25 Oct 2013 00:33:56 -0700 (PDT) X-Received: by 10.68.6.138 with SMTP id b10mr202184pba.149.1382686436795; Fri, 25 Oct 2013 00:33:56 -0700 (PDT) Original-Received: by 10.70.49.48 with HTTP; Fri, 25 Oct 2013 00:33:56 -0700 (PDT) In-Reply-To: X-Original-Sender: bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c02::229 as permitted sender) smtp.mail=bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com 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: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:7944 Archived-At: --bcaec53963cae6ac0104e98bc539 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable How do you type/enter those chars? Looking them up in a character finder? I have hacked my keyboard layout to be more to my liking http://people.uleth.ca/~daniel.odonnell/Blog/custom-keyboard-in-linuxx11 I also use keymaps in Vim, and I expect that we someday will have keyboards which are actually touch screens so that we see the layout we are currently using. Typing in a layout different from the one printed on the physical keys is a skill I've failed to acquire. I know someone who does it but he has typed so much on an actual Russian keyboard that he has it in muscle memory. Den fredagen den 25:e oktober 2013 skrev John Gabriele: > Hi all, > > This isn't a question, or a request. > > I just stumbled upon an article about [github's markdown]( > https://help.github.com/articles/github-flavored-markdown). They appear > to have some markup for "checkbox lists" (which they call "task lists"). = It > goes like: > > ~~~ > colors: > > - [ ] red > - [x] green > - [ ] blue > - [x] pink > ~~~ > > (Looks like the rendered html gives you clickable boxes ... not sure why > you'd want that in most docs.) > > If I were to do that in Pandoc markdown, it would probably be using > Unicode characters, like so: > > ~~~ > colors: > > | =E2=98=90 red > | =E2=98=92 green > | =E2=98=90 blue > | =E2=98=92 pink > ~~~ > > (Looks good in source, and pretty good as html as well. Also, I only type > each Unicode char once, and then copy/paste thereafter.) > > That said, it would be neat if Pandoc would recognize those Unicode > checkbox characters as list markers, so you could write: > > ~~~ > colors: > > =E2=98=90 red > =E2=98=92 green > =E2=98=90 blue > =E2=98=92 pink > ~~~ > > (replacing each pipe character with a space, such that the 4-space rule i= s > honored). > > Seems like there's a handful of really neat unicode markup possibilities > out there which, while breaking compat with other markdowns, would OTOH b= e > pretty rad. :) > > -- John > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 'cvml', 'pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org');>. > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAO9PwMVAy4bR6Z2wnOsf_sR= ornXWzRJ7s0bj9UKG1x4vqq8vBg%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > --=20 /BP --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAFC_yuS%3DrbfiQSriqH2NJ68zFp%2BruUUjz_J-Em2XoErCZU_Sew%40ma= il.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. --bcaec53963cae6ac0104e98bc539 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable How do you type/enter those chars? Looking them up in a character finder? I= have hacked my keyboard layout to be more to my liking


I also use keymaps in Vim, and I expect that we someday= will have=C2=A0keyboards which are actually touch screens so that we see t= he layout we are currently using. Typing in a layout different from the one= printed on the physical keys is a skill I've failed to acquire. I know= someone who does it but he has typed so much on an actual Russian keyboard= that he has it in muscle memory.

Den fredagen den 25:e oktober 2013 skrev John Gabriele:
Hi a= ll,

This isn't a question, or a request.

I= just stumbled upon an article about [github's markdown](h= ttps://help.github.com/articles/github-flavored-markdown). They appear = to have some markup for "checkbox lists" (which they call "t= ask lists"). It goes like:

~~~
colors:

- [ ] red
- [x] green
- [ ] blue
- [x] pink
~~~

(Looks like= the rendered html gives you clickable boxes ... not sure why you'd wan= t that in most docs.)

If I were to do that in Pandoc markdown, it would prob= ably be using Unicode characters, like so:

~~~
colors:

| = =E2=98=90 red
| =E2=98=92 green
| =E2=98=90 blu= e
| =E2=98=92 pink
~~~

(Looks good in source, and pretty good as html a= s well. Also, I only type each Unicode char once, and then copy/paste there= after.)

That said, it would be neat if Pandoc = would recognize those Unicode checkbox characters as list markers, so you c= ould write:

~~~
colors:

=C2=A0 =E2=98=90 red
=C2=A0 =E2=98=92 gre= en
=C2=A0 =E2=98=90 blue
=C2=A0 =E2=98=92 pink
~~= ~

(replacing each pipe character with a space, such that = the 4-space rule is honored).

Seems like there's a handful of really neat unicode markup possibilitie= s out there which, while breaking compat with other markdowns, would OTOH b= e pretty rad. :)

-- John

--
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 pandoc-discuss+unsub= scribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pando= c-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pa= ndoc-discuss/CAO9PwMVAy4bR6Z2wnOsf_sRornXWzRJ7s0bj9UKG1x4vqq8vBg%40mail.gma= il.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
/BP

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/C= AFC_yuS%3DrbfiQSriqH2NJ68zFp%2BruUUjz_J-Em2XoErCZU_Sew%40mail.gmail.com= .
For more options, visit https://groups.google.com/groups/opt_out.
--bcaec53963cae6ac0104e98bc539--