From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18306 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: How to suppress title attribute in a CommonMark image link? Date: Fri, 13 Oct 2017 10:31:17 -0700 Message-ID: <20171013173117.GA27286@protagoras> References: <892c5a25-086a-4e19-b4c1-8975cea8df0f@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1507915882 5315 195.159.176.226 (13 Oct 2017 17:31:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2017 17:31:22 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBXHQQPHQKGQE7ZAUS4Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 13 19:31:18 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f186.google.com ([209.85.223.186]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e33na-0007Uk-Ik for gtp-pandoc-discuss@m.gmane.org; Fri, 13 Oct 2017 19:31:02 +0200 Original-Received: by mail-io0-f186.google.com with SMTP id m81sf7141029ioi.3 for ; Fri, 13 Oct 2017 10:31:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1507915869; cv=pass; d=google.com; s=arc-20160816; b=c5RHERpOihm9xMyTpCwaybtPH7ju+Laguqv+D2ZN+YPZ96wnnrCzPAABwZiEszxxaX MI7aR1aa99mE5Ury0ewSqzQajS4mZWR0qCmapEp0XVxUUeq9tpydDSj6AKqITz0kBkVn PWXl7fZEJsuIRWoWKYko/+mwNcJh0Cy5trnqiLHEq0/cAJnSHES3wgXLtY0VhQKgMDbI IHhSjoL8tQLiVDC19xGM9ajka27ND6xkJ3LGBL9bsBfpArg4RBh7dHnkerF0taAyI0ZH 5UmSiS8fkHMamJ0ZFI7slgnTsHQTgB3bXkvlnVbFQPKj30oGuDWkXV6eLnleQtKEj6Ku Kmjg== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=VvaF3YzVtiXVq6fdMMCglZ0QkIWWFWxHmt55b9KzHIQ=; b=cqecT9s2EBU9cUQuffA4NBEFBzWVEfrBNkbifMLg8BrRQts6Ayfp52J3GWrye7S9nH Sor/UShydBkVoHe8pLi/vZdejWFgwLDQyxKXcqHjiHBNASZqzr0RXhsaw2JOAR2jd5Pr qyfd9Lt8GbpUsp7YXwXR+MnPMx2pyNIIIfgz+bxh03rUSEun5ORvffUWBnHn16bO6a/j rhB4tsgneVwfIN4GpBtIHb+G+Mhnx1B9EQ4Z5qFf9gPl8s1tqJc2cc1z/ZdTQmjGXEB9 XhEmcVWEpPXFaPG9AXWhJWkK9r60zZCN1xi1POWkvz6jLf1EaHTDbtvX7DwWIGCTP+Nv ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xCK6oSYJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=VvaF3YzVtiXVq6fdMMCglZ0QkIWWFWxHmt55b9KzHIQ=; b=JcnIFe7xlPxzsORX5/n14q+LOrnxJrmS/wHxWHg3B8CqtiWShHx2iph9mi7ugUkKbN WzqJXka4zRhvPZ8bBKpJAReWuedxTKSKbml7kKN0aZoaJZS5lXprI7AyIIDD+pX0P9MK Kvu3n6e5cCu74GUZXMUZdD7tTDiQFWy3sB+2PZg0U0g7CMfEfbBqt8Xb5xyXCPS8aa/E e1gb+jOmZAtAtHk3teO0mRPzjP1sSoripTws5DJo5SpEWeOEcBWy+STvhpGzH9EbKJI9 /BxNjcrhcJZWOne361xePitwH37Y9bXgyRq/1iAAq/Ym1TG1+9DaqWesvL+7mYT6IFiU dV2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=VvaF3YzVtiXVq6fdMMCglZ0QkIWWFWxHmt55b9KzHIQ=; b=K0HO/LZEGgqkzqro7+ytKwhO5+FsalGQOPgwEeaI9M9+zgpn4drInhP7Yip/wnostK WYEA5g5u22L9mVOKyO0zy3MghcJeo3MJ5q/dnNLk85HeE6dzIHMS/0yZ8NzNLhK4EJnz 9D7HrC+XDZ6LqvZZbdW1Z0xg2eLqmPl9oPEQKvE66M8k1D9YlQzgCj+mOAk8qEBPVvt3 Z/f7Z0lcFQSEhVhCOj64MNx/GoQ8OcjNQUxdWMSdAHItgorU6zcudr8jOg0O7XYLZSGW A+DAbpx3Em/GsFMLV+ZmS5A0J5BbSAWtdVchBL7Qm3fV76ldC8i3IRQq4zQY087RLPtv Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaUSEy4bBCDmVqogTJcKWO8um5l9JArFGp6nHV2vtijObc8yDviI JhTJ0OG/x1eQnjbcuuhbB0g= X-Google-Smtp-Source: AOwi7QDlcaTf9aQ6dKFIbURUlKxVWOaxDUMaMugooZiJZQvi6c6MZ1sgg0smKzJjbOmyhq9pJh8otg== X-Received: by 10.36.60.9 with SMTP id m9mr36992ita.0.1507915869799; Fri, 13 Oct 2017 10:31:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.84.232.202 with SMTP id x10ls2018314plm.3.gmail; Fri, 13 Oct 2017 10:31:08 -0700 (PDT) X-Received: by 10.84.235.199 with SMTP id m7mr480677plt.53.1507915868714; Fri, 13 Oct 2017 10:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507915868; cv=none; d=google.com; s=arc-20160816; b=Yb4+/oG7lbmiz/qkYQklJG3zPHdMRr2c2dwqj9GP7S4kKEGBdAiHY1YZw8+EVjmpfF RSV2WjrTQrfaNgsBPIjG5vYxsMZJi3mLb8MloIqaSOYWerY9bMFjwX/NQX3z5k8WTHVS 91cTbRBv+anFCWSYZwsEIK9GqRyCQg8jtJ1GNpNlpJiGSWbupwEtPgsnpOQHyoBtRnMD a1rNwjFF6aqc6rPLTpmXMx9pUKVOWreox/wtIvkAQkGaUMheYFTu8sUh85r0icwIoC+/ L+B7ho00DomIOzDX4EV3DPH+irHvP7CGUTrqhssjMPn23+H1tZwGVytxC5Up8+mnEfEE JUAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=YEJknz+ZQgBmOQjIP966x1cpYFL37R6savRpnqChJz8=; b=srGHgA4erFJ/M+UlEml5T6iYwJhq3LLSqos4w94plHgR7VDPwz3daNBW+frS+vIYmS Yu9XRC85eT+ulY835ed1F8v5z5GOFSP8o5DmYhupHw/TcAWhBwEn0ot43+4iORbZJSix K6PPjP9A+iX7z1R1Jkn0VzDdGEyr8gtB8LQ625lzkAm14qHs7JgcU4BMzvVQdLVR13QM Kajyl/k2qrpHVy6LDygxgZmyPkU8CA7FmDSUz9Gjk6tz1hcTeVTVDIZf2wcz4JHasGTi +sX2odnlfQX3q+IMxsfA4zeSQZrut+wsYRzPr6aEjSWWssnJUU0TbAin0GjL5e4/e6wx weOA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xCK6oSYJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com. [2607:f8b0:400e:c00::230]) by gmr-mx.google.com with ESMTPS id t18si85380plo.2.2017.10.13.10.31.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 10:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::230 as permitted sender) client-ip=2607:f8b0:400e:c00::230; Original-Received: by mail-pf0-x230.google.com with SMTP id d28so10942126pfe.2 for ; Fri, 13 Oct 2017 10:31:08 -0700 (PDT) X-Received: by 10.98.32.212 with SMTP id m81mr2017767pfj.227.1507915868133; Fri, 13 Oct 2017 10:31:08 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id a25sm3613189pfc.143.2017.10.13.10.31.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2017 10:31:06 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id F1BD4A1ED; Fri, 13 Oct 2017 13:30:55 -0400 (EDT) Content-Disposition: inline In-Reply-To: <892c5a25-086a-4e19-b4c1-8975cea8df0f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xCK6oSYJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:18306 Archived-At: It's a kludge we use to distinguish images that should be treated as figures. You can turn off the extension entirely using -f markdown-implicit_figures I can also change the CommonMark writer so that the "fig:" prefix is removed, as it is in the other Markdown writers. +++ Jennifer Bryan [Oct 13 17 09:44 ]: > Why does the title "fig:" get inserted into this image link and, more > importantly, how can I prevent that? > $ echo '![](foo.png)' | pandoc -f markdown -t commonmark > ![](foo.png "fig:") > It appears to be fairly specific to CommonMark, i.e. it's not there for > other flavours of markdown. > $ echo '![](foo.png)' | pandoc -f markdown -t markdown_github > ![](foo.png) > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/892c5a25-086a-4e19- > b4c1-8975cea8df0f%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/892c5a25-086a-4e19-b4c1-8975cea8df0f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout