From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33382 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: How to make Pandoc parse headings not preceded by empty lines? Date: Fri, 24 Nov 2023 13:48:25 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16394"; mail-complaints-to="usenet@ciao.gmane.io" To: 'Andrew Pashkin' via pandoc-discuss Original-X-From: pandoc-discuss+bncBDCINCES2QJRBLWTQKVQMGQE5SOOEYY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 24 14:48:34 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f189.google.com ([209.85.160.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r6WXq-00046G-0Z for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 24 Nov 2023 14:48:34 +0100 Original-Received: by mail-qt1-f189.google.com with SMTP id d75a77b69052e-41b83b3fd18sf25994041cf.3 for ; Fri, 24 Nov 2023 05:48:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700833713; cv=pass; d=google.com; s=arc-20160816; b=oUTYyp5dDAoKaVbqmOTA/lSSwdg2/oJIj6O2OAWrHk3VlyX83wCCljjclxwYkyUO+X DKgnXpF1ySAApsQzAtabrrBemXUZCtWvw0FJySnwdLcJIZOKfNrP/VQ0gyAO9y/c3RBg 2a3YbsYmDLklbKPhTOMAvZdhVWVGvp4gKc7phbQjGuEz7bZIuPVDEzKaVoQGmbz/ie6x tOlb288RPlAP2d8vgnZUmZ7L+Kw9FhqIlN9m4CRCTAHxGSXk1/8dejKo7InnpLka3xz5 vHGD5m3tQr7P991EQONNEUSlP461jCmny3MJcUOS08vJ8jgGx3w0HwjoIDKRVn5nfIs9 fqNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=JqqcAXCvV2QYqXzkEQ08LYDz9o0sDVOXmgFDn8J2LE0=; fh=Jqae8B4yYHSypsAdbAPYU8MYHksw7aNsWVJkVNNsHAI=; b=08D56iPbN2w6rv2CRxaKXJ+Ev/95umvbhz3IqBy1VKpb+sV1PA2994aNAeS+YYCDyI nS1qv53GOvh5SIk8eq2ukhjFCnqpRuQddCCvHvXBWUVnxIaiLvbFEySxHHHqhrdFYYkM 0Q85+sn7h8DdyhQxtvLXLpD+THAuuvX2DFPVsGB/q5b+Nbc2uDeu2pry/7XzAr28mmgj W1r5n1XdKosdBDr7u4gatTkTQWVaknAf/PbXPcTJMNi4e/+eBVXLAH8NrVQHr0EfHsIW 34xedJCgYHlbKPfKMlHVFIZ2L6oV3uGVQFcv7HfRLMcnYWy2o1nuc7QuQJTD2B9dHAmT K4Zw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=DYktY8Xp; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1700833713; x=1701438513; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=JqqcAXCvV2QYqXzkEQ08LYDz9o0sDVOXmgFDn8J2LE0=; b=WKlxTp3eZqJoZDF3H9pHgC329P8LdI9xcsZBO8GB0UpZlUWfwdYvjfSWz9UKqKjI/4 DAX+t2F5wOspd9nRuZF2bjZwrM3kcIhJ8mhr2DVEYkBO5+DnJFIzY7+OlonPXSQAI5no x/Eh+JWPkWwC6TpafamvsXNUagsLb2EAZ3wFq42ooBTeImo2AlqlDxABkJXnJVrEkuY+ KmRtKHpDAATKTFcVBf/0XzKM363CbBlikWkr/zeDqBzEM7OS9Q3nCbAUS93YOFN6DpJ0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700833713; x=1701438513; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=JqqcAXCvV2QYqXzkEQ08LYDz9o0sDVOXmgFDn8J2LE0=; b=EyEnF8IaHuWZaK22Nh5Nd0lnA3xha7l/zwQB/JIFQzzRmMJW2mjYAFzZRuJYlE8V4V npE4KZe+ez29B1ykoDBxZ109Xp0JF5u0aTNXcbtQ2SS7HKzb/Sf9qoi0Wcd/tHKfN0cC adFhm3646u4jOgSRGMUDoGxP5FmuBhlj/6zQq3UJhFe1EW3XZPkaIAE+Ouznfbj0Dw54 o6JyL5O5Wf61CkO4HJPWGZENhjsX Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yxkke30llNOHmhZh1ZywTAzlyz/JTimJre+swdnstsLhh5ClLn8 +X6/d8wtj6U6LzIYJtZ9wVw= X-Google-Smtp-Source: AGHT+IGq+6/kv/sO69lqAXR9bc7d2kxWbiwVN6OepBEwux/wvBQ6b5+jmb1U9Xst8AsLCx1vxVBWDw== X-Received: by 2002:a05:622a:1a0a:b0:423:7353:15e2 with SMTP id f10-20020a05622a1a0a00b00423735315e2mr4143588qtb.20.1700833712895; Fri, 24 Nov 2023 05:48:32 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:622a:1c0f:b0:423:9554:656a with SMTP id bq15-20020a05622a1c0f00b004239554656als1352668qtb.1.-pod-prod-09-us; Fri, 24 Nov 2023 05:48:30 -0800 (PST) X-Received: by 2002:a05:622a:11d1:b0:41c:e028:7254 with SMTP id n17-20020a05622a11d100b0041ce0287254mr3405835qtk.34.1700833710146; Fri, 24 Nov 2023 05:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700833710; cv=none; d=google.com; s=arc-20160816; b=K9XtcrJcu8D6S1z6jGc8cFPEQ7rVkNLiDadj8OTpT1y0ZjThPHwvBlk3/sWc6znCiA gMxLEsIccrgXKtYaVw8aQYVO6e35bT55MBvheqgI78i3jQEBES5yD/RvDSn2ntniZcKJ 7hlo2+ticm09NoY3mqmF4O5DFkc5w/KNPg3enOz7laJG118gN13BKkuNkLEtH7rU4qL5 y1ayebZD8X4ehm8fjr3HVwk47GsL9xYMt5UYoCkgUvZn3XUA82zNg8t7WIpda+AQS9L4 jEiK5muodxEQHHs906phfVj2rp04hAOz5w3tAM0T7pW7YhGMAaNL6DuiZY7fhIe9LSvH OA2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=P488Xm+5Qk0mR7F4IS+kU9XnIk7mn4ZvmAHycFoNKqY=; fh=Jqae8B4yYHSypsAdbAPYU8MYHksw7aNsWVJkVNNsHAI=; b=o3rFOa4uO7HzOVH8nndLJsaKlfQT/cftXleYNBhhgqK3fmWsXVPn6BzhnOmvtrIybv UQyU8UB/eDQchUvspAZLTc949PGipKXcPBA5wTtALfVNpeNqzAf3cThOUFW9pYktxsnq zzRBBecodkd/xft1Zh5Yiq9KuAgjl/EdM36ZZNvhCkxaJnSjWiTx6AT7tcUP/C7/zy8G d5BtKDs35dUFLMcgYkffuH2SC5RgISxq3fNLdwvYAQ4SArckIw9rEMs0bgSca1ZmeIpB JYZsu10cmMB1yneGaRiH0d7rvkkpXUySMNBDXehx9cJ0Z9fjlweaga7dB3k/RvW1lALk YDeg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=DYktY8Xp; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id cd11-20020a05622a418b00b0041790471199si486643qtb.4.2023.11.24.05.48.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 05:48:30 -0800 (PST) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0A4B824002A for ; Fri, 24 Nov 2023 14:48:29 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ScGXT58vWz9rxP for ; Fri, 24 Nov 2023 14:48:25 +0100 (CET) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=DYktY8Xp; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:33382 Archived-At: Github Markdown and Pandoc Markdown have different syntaxes. If you want to= use the former, do: pandoc -s test.md -f gfm Le Thursday 23 November 2023 =C3=A0 06:32:26PM, 'Andrew Pashkin' via pandoc= -discuss a =C3=A9crit : > Let's take such a Markdown file >=20 > Text > text > some text > ## Heading >=20 > Blah blah >=20 > Github will be able to parse properly, for example: >=20 > But let's try Pandoc: >=20 > $ pandoc -s test.md -f markdown -t markdown > Text text some text \## Heading >=20 > Blah blah >=20 > Notice the escaped first "#" symbol in the heading. >=20 > I wonder if there is a way to avoid it? >=20 > -- > With kind regards, Andrew Pashkin. > cell phone - +48 (503) 186 952 > e-mail -andrew.pashkin-puGfsi27rH1aa/9Udqfwiw@public.gmane.org >=20 > --=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/ee3c5844-ba4f-41d4-a68b-acc237996a03%40gmx.co.uk. --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ZWCpqWIVXl8RE4fZ%40localhost.