public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: pcolabgooglegroups-hYYWqA7vhVBBDgjK7y7TUQ@public.gmane.org
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
Subject: Re: '|' How to force an empty line?
Date: Thu, 01 Feb 2018 12:34:59 -0600	[thread overview]
Message-ID: <201802011834.w11IYx8U006240@epjdn.zq3q.org> (raw)
In-Reply-To: <20180201181225.GG36803@protagoras>

On Thu 2/1/18 10:12 -0800 pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org wrote:
> The original
> 
> | A line of text. After this line I want a empty line.
> |
> | Last line here.
> 
> should work fine.  What output are you getting?

My work flow, involves so pre pandoc filtering, maybe it's my fault.
I will have to review my makefile.  Will plan to report back later.

--
thanks,
Tom
--
As you suggested, this works OK:

$ cat /tmp/foo
| A line of text. After this line I want a empty line.
|
| middle line
|
| Last line here.

$  < /tmp/foo pandoc --self-contained -f markdown -t html 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="generator" content="pandoc">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  <title></title>
  <style type="text/css">code{white-space: pre;}</style>
  <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  <![endif]-->
</head>
<body>
<div style="white-space: pre-line;">A line of text. After this line I want a empty line.

middle line

Last line here.</div>
</body>
</html>
$ 




  reply	other threads:[~2018-02-01 18:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-01 17:46 Re " pcolabgooglegroups-hYYWqA7vhVBBDgjK7y7TUQ
     [not found] ` <201802011746.w11HkCUL023112-Iacv5gYTstuYo1hQQC0LMg@public.gmane.org>
2018-02-01 18:12   ` John MACFARLANE
2018-02-01 18:34     ` pcolabgooglegroups-hYYWqA7vhVBBDgjK7y7TUQ [this message]
     [not found]       ` <201802011834.w11IYx8U006240-Iacv5gYTstuYo1hQQC0LMg@public.gmane.org>
2018-02-01 19:33         ` '|' How to force an empty line? ( sorry, not a pandoc issue ) pcolabgooglegroups-hYYWqA7vhVBBDgjK7y7TUQ

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=201802011834.w11IYx8U006240@epjdn.zq3q.org \
    --to=pcolabgooglegroups-hyywqa7vhvbbdgjk7y7tuq@public.gmane.org \
    --cc=jgm-TVLZxgkOlNX2fBVCVOL8/A@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).