From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26053 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Safronov Newsgroups: gmane.text.pandoc Subject: Re: Proposal: default to ATX-style headings in markdown output Date: Thu, 3 Sep 2020 12:07:00 -0700 (PDT) Message-ID: <3baeae13-8eca-4464-ac84-84c988f7a91do@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1490_819876682.1599160020543" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18269"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCHYZ6EFRIJBBVP5YT5AKGQEJLPVSDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Sep 03 21:07:05 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f189.google.com ([209.85.167.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kDuZd-0004fn-Av for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 03 Sep 2020 21:07:05 +0200 Original-Received: by mail-oi1-f189.google.com with SMTP id b10sf1260130oia.21 for ; Thu, 03 Sep 2020 12:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=Ap1y2SKpyag//2ZXF/LEBNKPnbq3d64oR6t+LZyWZC8=; b=KI+M3ZYZJfpMeiMPKECKIed+f6K/lH2YV8uHzxR+OlnDalZi4SA/N5uv1SHSdK/Dce GyFUKXKsL4yUcPFp0oYxwtO5xnDw5ctWUaFqL+nZioglpaWAfubZl1EpGXk1j5zT04vO 71SBoGy+Aa8gTLiRz3cKzFTqFyhQT4gmSgyd8DPWyAJImmD/QwIarZjcbtjy7Y48kKr1 Ha42itwluwPNlXYAayI/Z++bCWUdz6b7JUaHE0wRKJKqTUuLaxlrLcuIZmCOwNjvMSWi 8oqjU/87ByA94asSCXncpeFDdGRuKggy/w6L68eAq4ESXSCdNOsEx5EQuV6M8BKtwPNG 8KPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Ap1y2SKpyag//2ZXF/LEBNKPnbq3d64oR6t+LZyWZC8=; b=mzQwvpoLQNu/bQom5AGMRT85YQ09dt/lCxInE1hwSS+1OwqZGdpei6Em3MHANTcxdZ cFccD0d1cVA927+JKW/7X1cCe05yxWoNV09+niFMDDMSv7qjdhPzML81oLX+cok/tT9o DOFHTlHr/t1JGzz2ALBttCp+DgkiI/+OIWvjSPtWj5DhQS9Jki6Ci399xIsMCPbakw9/ Y1+heGAO/0/xKZ7gYBnqCtZPXiN1op9Jyw9I++0Sa7Vz8bZaqzwpufvaz7hGTZ6//wJ2 E9aRotUtv5UGf73W9k9TIQRZZZFSARsdsJ3x5rR/ZBlG/LCUpZ9uhSzUQ37DRzTMN66v KVFQ== 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:in-reply-to :references: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=Ap1y2SKpyag//2ZXF/LEBNKPnbq3d64oR6t+LZyWZC8=; b=I+vLHBCvGMxbcHg/whQbN9VjDhMkhTt04sTPnfVlXRbts59QBc6anvjsedoGPwtrIO YnP4Kne6fYG6DgXCnJhnGf1fKYSqOU0UrbMavHSqIcnLk582SUj/YTNoYv6Apm9D9Xw2 bmxMP0J9kgZTkimZnqImEUmFgU3ikVSzZtmwISvuhB1L+jcgLwuht99yg8le0YPp0KGL BgkZWmDPwCurmFS1FjDre0AJC9oESjaRwKWPtc7pDHDVbvaAxmRI4FTUmAgfiYubrzqS 5Kar+GVyrE1PUxfChMYHz56jU0IFzdGvqqVfSHOpu698/UXynX3de9JPxFNjnNAjWpsW hVxQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531b2f63Gy4gDe6wLL3Cg9YCd6CHmqpoyMiiLxBFr4ev6xDiicoq 1iI/cW2lWV7N1ub3QgBoBaQ= X-Google-Smtp-Source: ABdhPJyPC8XD3BOCEgERstfbIVdA0+vXtZmvrpVUaOC+b+CLfID3cEYOKvUqwp/YP9+sfHifdoLoSg== X-Received: by 2002:a05:6808:b10:: with SMTP id s16mr3102124oij.95.1599160023959; Thu, 03 Sep 2020 12:07:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3a07:: with SMTP id h7ls1492918oia.1.gmail; Thu, 03 Sep 2020 12:07:01 -0700 (PDT) X-Received: by 2002:aca:ab10:: with SMTP id u16mr2990569oie.127.1599160021167; Thu, 03 Sep 2020 12:07:01 -0700 (PDT) In-Reply-To: X-Original-Sender: saf.dmitry-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:26053 Archived-At: ------=_Part_1490_819876682.1599160020543 Content-Type: multipart/alternative; boundary="----=_Part_1491_16060356.1599160020543" ------=_Part_1491_16060356.1599160020543 Content-Type: text/plain; charset="UTF-8" I also prefer ATX headings. On Thursday, 3 September 2020 17:57:59 UTC+2, John MacFarlane wrote: > > > Currently in writing markdown (and commonmark) pandoc emits > Setext-style (underlined) headings for levels 1 and 2, ATX_style > (#) for the rest, unless the `--atx-headers` option is used > to force ATX. > > Proposal: given that setext headings are becoming more > uncommon, and in view of the ugliness of switching heading > styles at level 3, default instead to ATX-style headings, > unless a new `--setext-headings` option is used. > > Comments? > > Note: in principle we could also change the default just > for commonmark/gfm output, not for default markdown. > However, this would still require adding a --setext-headings > option. > -- 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/3baeae13-8eca-4464-ac84-84c988f7a91do%40googlegroups.com. ------=_Part_1491_16060356.1599160020543 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I also prefer ATX headings.

On Thursday, 3 Septembe= r 2020 17:57:59 UTC+2, John MacFarlane wrote:

Currently in writing markdown (and commonmark) pandoc emits
Setext-style (underlined) headings for levels 1 and 2, ATX_style
(#) for the rest, unless the `--atx-headers` option is used
to force ATX.

Proposal: given that setext headings are becoming more
uncommon, and in view of the ugliness of switching heading
styles at level 3, default instead to ATX-style headings,
unless a new `--setext-headings` option is used.

Comments?

Note: in principle we could also change the default just
for commonmark/gfm output, not for default markdown.
However, this would still require adding a --setext-headings
option.

--
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/3baeae13-8eca-4464-ac84-84c988f7a91do%40googlegroups.= com.
------=_Part_1491_16060356.1599160020543-- ------=_Part_1490_819876682.1599160020543--