public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Kolen Cheung <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Markdown -> plain: How to preserve blockquotes?
Date: Sun, 3 Sep 2017 18:58:30 -0700 (PDT)	[thread overview]
Message-ID: <8e1e0a64-7e87-4dbd-b669-0b55854fe110@googlegroups.com> (raw)
In-Reply-To: <cd94eef0-e89b-4aa2-969e-17cf6bb99162-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

When you say preserve, do you mean you want to see the `>` characters? It won't be difficult to do that, but I'm afraid it is an arbitrary expectation on how much markdown you want to see in the plain text output. (should the `-` for lists and `>` for blockquote be considered as plaintext? If so, every markdown syntax should be considered as plaintext, or else how should you draw the boundary? Moreoever, some people do think markdown *is* plaintext, and people often say markdown won the plaintext war, where markdown becomes the de facto standard for plain text.)

Now in your case where you want to have a custom "markdown variant" that more things becomes plaintext while preserving some of the markdown extensions, I guess you may try to turn off most of the markdown extensions that you don't need (see the manual/user guide if you don't know what I mean, e.g. `-t markdown-grid_table...`).

-- 
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 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/8e1e0a64-7e87-4dbd-b669-0b55854fe110%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  parent reply	other threads:[~2017-09-04  1:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-02  5:16 Francisco Lopes
     [not found] ` <b9e503e1-de59-4086-8104-64f32c8bfa5f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-03  6:53   ` Kolen Cheung
     [not found]     ` <d5636ec4-4c36-4514-a87a-3622e37d4986-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-03 12:36       ` Francisco Lopes
     [not found]         ` <cd94eef0-e89b-4aa2-969e-17cf6bb99162-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-04  1:58           ` Kolen Cheung [this message]
     [not found]             ` <8e1e0a64-7e87-4dbd-b669-0b55854fe110-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-04  8:33               ` Francisco Lopes
     [not found]                 ` <e364ab5a-9752-47ce-ad05-9ece6e099b77-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-04  9:36                   ` Kolen Cheung
     [not found]                     ` <eaa32942-b318-456e-9ed6-7db797e050de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-04 13:53                       ` John Muccigrosso
2017-09-04 16:21                       ` Francisco Lopes
2017-09-04 18:52                       ` Francisco Lopes
     [not found]                         ` <fb9edf5e-3b0d-48b9-b10e-29f738a80987-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-05  4:53                           ` John MacFarlane
     [not found]                             ` <20170905045318.GE3765-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-09-05  5:20                               ` Francisco Lopes
     [not found]                                 ` <6ec4d317-8de4-476d-86c5-91438eb47729-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-05  5:28                                   ` Francisco Lopes
     [not found]                                     ` <ae3ba6b6-616a-4cb5-8bb2-be45b575d54e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-05 12:16                                       ` Kolen Cheung
     [not found]                                         ` <d6d7afde-883b-43da-9727-4ce24a08a43f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-05 18:02                                           ` Francisco Lopes
     [not found]                                             ` <9d2b4cdb-b236-42bd-baea-ff53da0ca1ed-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-05 18:17                                               ` John MacFarlane
     [not found]                                                 ` <20170905181733.GD10851-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-09-08 20:16                                                   ` Melroch

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=8e1e0a64-7e87-4dbd-b669-0b55854fe110@googlegroups.com \
    --to=christian.kolen-re5jqeeqqe8avxtiumwx3w@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).