From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18304 Path: news.gmane.org!.POSTED!not-for-mail From: Jennifer Bryan Newsgroups: gmane.text.pandoc Subject: How to suppress title attribute in a CommonMark image link? Date: Fri, 13 Oct 2017 09:44:24 -0700 (PDT) Message-ID: <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: multipart/mixed; boundary="----=_Part_6976_419535172.1507913064564" X-Trace: blaine.gmane.org 1507913065 27933 195.159.176.226 (13 Oct 2017 16:44:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2017 16:44:25 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCPLDBV3WYCRB2O2QPHQKGQEEKK6RDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 13 18:44:21 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f64.google.com ([209.85.218.64]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e334M-0006Hp-Bd for gtp-pandoc-discuss@m.gmane.org; Fri, 13 Oct 2017 18:44:18 +0200 Original-Received: by mail-oi0-f64.google.com with SMTP id m198sf6382268oig.20 for ; Fri, 13 Oct 2017 09:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=tdFQnf/fVe2Um6mcNsdQmcwgvggJc0/MCnvd0Sw+TfM=; b=RrneuAHGPNpz3FSx7VutKz3S0bh+qqR9fWeLt9/oV0uN74baJf9lchdd7NTqGlkMZ/ QMxfH1b9+VSc4/lPaLY4KfU3JpCDGioXHDUfKbHbqZncekE6tyTrcYjiS8NsfvhOfmIl 3C1YQVUPSyDAZtg7us+7O2BZSIbXEbqYjGLUFp9CGxkZIlrCpo5y1R6wphfRie6YeUCW 2iGg6cJ0yt7CGIKsiTVgW5lQSIpwwdZO67U3b0gAffrVEoqPkP3UaRPxACLtwmIMIn23 wwsrCOyP6PtscrHWresJj5rwgBpTC3m2PR6rWylVpNOYBYCrNwTeS5vvF37nj7H+/ory g6Ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=tdFQnf/fVe2Um6mcNsdQmcwgvggJc0/MCnvd0Sw+TfM=; b=dkzS6FGN234rIFeLRxoiYEXLWPzii6WPukAKQNaGnmDhDpmTJwBKmxWlHV7nlB4uLT TVDN95jD1JSP9UbQQmknDi/unl5hBEpe2zcFftrzIE69lLUbt5eexITRq15hh5x2nkQl 3F8ZF/ZuL9zmVhP6pZ8OESscrn+vjauKidqNbwYF9YM7tapeDfkjIY2xcwh758RDZ98D J7HztrYs/S+59sYeJJtiEQbkU0+8PiZilB7/gSAOa1f62RJQQzrspT4YizzcUq/itaf4 WgmP5zKECRnhZDqH0Z83VlHPl6ZWAkD4sOYe4D0V+H8FP5+4eUTlo1P8PjrhYHzVJvKM vm6g== 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: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=tdFQnf/fVe2Um6mcNsdQmcwgvggJc0/MCnvd0Sw+TfM=; b=Gdq6cu0B8T6qyyQ32bA4YiZKkS/RoV3jx+Ab8GG6bJoKK2pwhGx3AZox71Lai1ThGa jWXRUM3QjQc83nPSGZlp14e76ixEgd+9zo6bb/LD3S22AvQN90nKv930uSS1nd6U/zhL Ws1ryEwfRVRBrKy97Igl5fLCrmZB8FVXO/WujWqHRl2qbSOjnDvbTwM/bmsZCINYkd0D i9ZKkWk7FaOzkW72OAlQKee9OJ7UaUlgTEJd+27SXM1VDMQQUnHcTENYFjjFTvNO6BLR q854lPTc0Za4Zf2wnScUCsCaHHJYXF+UIgJM3VwOR2cEJVRWGBYb9Euw9YnZPMLAbRrS zy3w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaX2oZYV8i2i5H6u4I7pf3eukPFEcnarTiAl30EgRAkYKZMlqpHX Hsr1u8BQgcv0A2+N8q3+heQ= X-Google-Smtp-Source: ABhQp+QZoONoSfHQU6bcXigMTWHLIzG4LmMYlpOPtHf/MikXgIJ2N/10UNdoBOqvZ5Bt5zkUeYLplA== X-Received: by 10.157.85.5 with SMTP id l5mr63361oth.7.1507913065685; Fri, 13 Oct 2017 09:44:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.43.195 with SMTP id u61ls2425488ota.1.gmail; Fri, 13 Oct 2017 09:44:24 -0700 (PDT) X-Received: by 10.157.15.247 with SMTP id m52mr64291otd.1.1507913064916; Fri, 13 Oct 2017 09:44:24 -0700 (PDT) X-Original-Sender: jenny.f.bryan-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.org gmane.text.pandoc:18304 Archived-At: ------=_Part_6976_419535172.1507913064564 Content-Type: multipart/alternative; boundary="----=_Part_6977_178629491.1507913064564" ------=_Part_6977_178629491.1507913064564 Content-Type: text/plain; charset="UTF-8" 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 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/892c5a25-086a-4e19-b4c1-8975cea8df0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_6977_178629491.1507913064564 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 t= o be fairly specific to CommonMark, i.e. it's not there for other flavo= urs of markdown.

$ echo '![](fo= o.png)' | pandoc -f markdown -t markdown_github
![](foo.png)<= /div>

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/892c5a25-086a-4e19-b4c1-8975cea8df0f%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_6977_178629491.1507913064564-- ------=_Part_6976_419535172.1507913064564--