From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31464 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Breaking up image description into multiple lines in source file Date: Mon, 26 Sep 2022 15:26:08 +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="37107"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBMUJY6MQMGQEH5TQCJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 26 17:26:46 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f62.google.com ([209.85.128.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ocq0M-0009So-31 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 26 Sep 2022 17:26:46 +0200 Original-Received: by mail-wm1-f62.google.com with SMTP id r7-20020a1c4407000000b003b3f017f259sf4311550wma.3 for ; Mon, 26 Sep 2022 08:26:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664206005; cv=pass; d=google.com; s=arc-20160816; b=bz5dpFTMlIyYFRAzy6gA+XsIl2v7rUpMawID20N1z6cNipYZx5WcmUDZLf4qJ6O7jt jLsQh1GdSHnpWrsUlscLErPHaHNYPNbnxOZguNgE088nAQLlfvFWdT83xZwaAmGSgSoO RMqBr48tE8s7av5VcvFhxw9Se9Iuk0TKFi6fgMkPfhoRgmboNSc40NygajFy9REBXb8E Wt4rI8QqOVMvEpimwkPEuZUNma2gNjOqOvnXDWvT80sLm0mEkGnKebIejfs7fdXgIMJ7 uX+RzUfjvcdUwXqF2zSkpkmtjf6Heh+MnMDJALK43qv/hUmIFGHgxeirl9lSy9httzQi +nWg== 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=NbcjIuS9GnEnRoDbdZWVk1JYEauQwptfexOdod8zJnY=; b=AuYty92toDmP2qyXNBJMYlA8J0gw8wiP8xiifHSbZzrZ5Mhakw7n9vcmcjGx48TKu/ jGLTNina/ljL9GxHC5z8iTg5msBKdI664CfoSl3R4kP2226RorvTZ0ChCXS9gj3mSYT/ qe8AZhFNnYsswl67kz1etinrxweCTAYd/cynZxE3s4ObvYV5CCx8F7AQYW6UDPb0MhFD nL9g1nWn9cFwt3o1U2JOn+CS6j3Zk2kDiNe57GJe2wjJvEgnvfeUOs3TKy7N4iidK6jI SCDFefsNs8DQXpFqy01Qh2n9Te2rUJ/w53kcT3ubJ2q7/wIUOcJrUTjVpMcy6wYEDnsw 6qJg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=B4c41trA; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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=20210112; 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; bh=NbcjIuS9GnEnRoDbdZWVk1JYEauQwptfexOdod8zJnY=; b=tzx4KW9I4D5Qy0u1zOUc22yUkpxFy43JKZ75QDG+yPr0REDFJ5DlCNHhTIpLpd2a10 Iln6Tmab3ifOE9q3/XOzOjxlPa36VtezK4xL1xINtWD1acVFkBBUPujhJXbiya1QWqW6 JsVDh0ugmm+tM2D9Sdw7qix9FcKVh0GmMDJAgvk7OuPzNe5/rxN2C8NGvyaIDav4rwXW Hxx2JcWzilEw+QOhtCtCT4iCW/Ic3LkaypjE4y/GlKtLHVaSQKwQ4AOUewmxfinXro7U gtp/0We3oHCuvksOoDoMiyYN2BeAtBi5DrJ+StRdMoy+ZJ4Za8CISqHIZQhu3Qgs+ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state :sender:from:to:cc:subject:date; bh=NbcjIuS9GnEnRoDbdZWVk1JYEauQwptfexOdod8zJnY=; b=b+pPtXNRd/Q51UPF8kZRfW+tKPkfKXJWpQLdcD2Zp/iKibj/BYYC2Jl6JRLv8ytuZe lEbcT7FFjz0KdHLBMi0GNYsytTDMILeiDYMqPcF+WhbBVU04eRpMdXRiSHfFC5MgeQ52 KpHni126oSexSmu4T0+KmMQCLSmzhdjcmM6SdF8+pRxwtejjJrPOpqvOtYdIzNxF22Wp zNZvCMXeKcL5PGkNgnMy2cjoqLJzqblo2jt66/x1G3u2JUNIjVIgwtQsKD9YJ3uYvyvg xfxdZXK2svXzzpE2DmA4 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf0VONoHzj9+vqVMJ2cjVBRC6jTSMaejchlg0arr1KyYY1ZvpV2Y iuS96kTDKD9BiWmDHLWNRSo= X-Google-Smtp-Source: AMsMyM50bBweBnmEvUUPuNQ1hmgd4cN2vB3g41CTUzu35HDATu2aV0HRuWDxlYRysAxIQZv1r5W2Cg== X-Received: by 2002:a05:600c:524d:b0:3b4:91ee:933c with SMTP id fc13-20020a05600c524d00b003b491ee933cmr21515875wmb.100.1664206005560; Mon, 26 Sep 2022 08:26:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:490a:0:b0:225:6559:3374 with SMTP id x10-20020a5d490a000000b0022565593374ls13244106wrq.2.-pod-prod-gmail; Mon, 26 Sep 2022 08:26:41 -0700 (PDT) X-Received: by 2002:adf:e199:0:b0:228:60f6:f775 with SMTP id az25-20020adfe199000000b0022860f6f775mr13784194wrb.478.1664206001619; Mon, 26 Sep 2022 08:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664206001; cv=none; d=google.com; s=arc-20160816; b=gcYnv7SlCY4yPVJSdnEcXy9pHhGT4C2VVyUDlDx2AAmG2NzM2iHhQCzYJstnJcz5bO n0Z2lFg8JHSvd8XlN7bURmBLAtrr0pt0dim4F7N4xCnYyymw+pZ3I/NqgSvMZkP6upy+ zi8QXZlVhgLLB0sOzpTu+wXPE7O4C0PkP1gMCJs2jVtVd5m1zKrv5cMaSYZlCcHCnldj yKq3ugTrvx32OE/GVmozOtl9jyz71gGNeyqHnef62V4rOPW+EmUvZ0nflJHG47LrdTEP JBpb62MJVkkQsvJKuY9kP9H5LDo5pkEj++s+t2UwKgASrj1kJcZ9HlFDMhxuhBNoBJK9 XPew== 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=ErlTdbEcg1QOu0RbcL6SQGkh/rL40LlDWfwp2TnEsNE=; b=ZsmxBrwDFCCnlNwrrUfVdRV18kp1dHaDd89AB/hzMArm8S7Q/DkGfkEVggeGhSxM0S ppouL0dkklegYqoVRQ202Witne1M0KYO5VneNMKAdJJLEYRt6Xrf7jWmSbfldgUhy3gK VPYP9Bdi4CCQopm7Q1oPTMhlxVE6DiqjT4ppaUC3UME0PtyEccHCL9lqj0ahKoFjUKTU aoA5dbuL1weKH9oBo7lKwEmJkFaCQev/hEaq+q4xMPjQX6ORDroPfHsRcg0yLCk6KKwg 28HT4k0eEXFd0kbVzYUJxZ/VVSQRdSYNuWPB1rFvceuirFZF18kN4AEOybTl4CAIwNCK KOFA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=B4c41trA; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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 mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id by18-20020a056000099200b0022a69378414si613567wrb.0.2022.09.26.08.26.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 08:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4ABE9240101 for ; Mon, 26 Sep 2022 17:26:41 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MbmnX6VQdz9rxB for ; Mon, 26 Sep 2022 17:26:40 +0200 (CEST) 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=B4c41trA; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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:31464 Archived-At: Would splitting the inline code in two inlines be acceptable for you? `veryLongClassNameWhichShouldBreak`\ `ALineInOutputFile`. Le Monday 26 September 2022 =C3=A0 02:44:32PM, A A a =C3=A9crit : > You can always break the line before and after the code span. >=20 > I=E2=80=99m aware of that. My question is about how I can break the line = within the > code span. >=20 > Do you really have inline code spans, let alone class names, which ar= e > longer than ca 70-80 characters >=20 > I just happen to be using 78 characters as maximum column count in my sou= rce > file in Vim. Different situations arise where the inline code needs to be > broken up into multiple lines. Long file paths, inline code that occurs a= t the > end of a line, long class names or commands exceeding 78 characters, you = name > it. >=20 > In such a case I would express things differently so that I can use a= code > block >=20 > I don=E2=80=99t like that reasoning at all. Long inline code can and will= occur in a > variety of use cases. Just because one can circumvent the problem by repl= acing > with a code block doesn=E2=80=99t mean they should. Please trust that for= the purposes > of my question I really do need inline code and really do need to break i= t up > at the end of a line. >=20 > I would be very surprised if this wasn't supported in the current > implementation of Pandoc's Markdown. >=20 >=20 >=20 >=20 > On Fri, 23 Sept 2022 at 16:40, BPJ <[1]bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote: >=20 > You can always break the line before and after the code span. Do you = really > have inline code spans, let alone class names, which are longer than = ca > 70-80 characters, or very short lines? In such a case I would express > things differently so that I can use a code block. Or is it in a tabl= e? You > can use code blocks in a grid table. >=20 > Den fre 23 sep. 2022 15:42A A <[2]amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev: >=20 >=20 > Hello, >=20 > I=E2=80=99d like to do the same for inline code. I=E2=80=99ve fou= nd that going from >=20 > `veryLongClassNameWhichShouldBreakALineInOutputFile` >=20 > to >=20 > `veryLongClassNameWhichShoul > dBreakALineInOutputFile` >=20 > Will actually introduce a space at the linebreak in the output, > something which I do not want. >=20 > Any ideas on how to break up long lines like that without comprom= ising > the output? >=20 > Regards, >=20 > Amine >=20 >=20 > On Fri, 23 Sept 2022 at 12:54, A A <[3]amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= > > wrote: >=20 > It works. Thanks. >=20 > On Fri, 23 Sept 2022 at 12:23, Bastien DUMONT <[4] > bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> wrote: >=20 > Thus (but it is not so pretty): >=20 > ![Data binding button default conversion]( > =C2=A0data-binding-button-default-conversion.png > =C2=A0){#fig:data-binding-button-default-conversion} >=20 > (Beware the curly brackets for the classes and attributes= .) >=20 > Le Friday 23 September 2022 =C3=A0 11:52:00AM, A A a =C3= =A9crit : > > Hello, > > > > I have the following markdown: > > > > ![Data binding button default conversion] > (data-binding-button-default-conversion.png)(# > fig:data-binding-button-default-conversion) > > > > I=E2=80=99d like to break this up into multiple lines i= n the markdown > source to keep > > everything clean and organized. So I tried that: > > > > ![Data binding button default conversion] > >=C2=A0 (data-binding-button-default-conversion.png) > >=C2=A0 (#fig:data-binding-button-default-conversion) > > > > Unfortunately it looks like Pandoc doesn=E2=80=99t reco= gnize the > above as an Image in > > the AST but rather just a string of text. > > > > How can I break up a long image description into multip= le > lines without > > compromising the markdown? > > > > Thanks for your consideration. > > > > Regards, > > > > Amine Aboufirass > > > > -- > > You received this message because you are subscribed to= the > Google Groups > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving email= s from > it, send an email > > to [1][5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2][6]https:// > groups.google.com/d/msgid/ > > pandoc-discuss/ > > CAMwawgOpaV0jvJccC3zhnSWprWQ8d0qbvH1W8TRF1KObFYH9fA%[7] > 40mail.gmail.com. > > > > References: > > > > [1] mailto:[8]pandoc-discuss+unsubscribe@googlegroups.c= om > > [2] [9]https://groups.google.com/d/msgid/pandoc-discuss= / > CAMwawgOpaV0jvJccC3zhnSWprWQ8d0qbvH1W8TRF1KObFYH9fA%40mai= l.gmail.com? > utm_medium=3Demail&utm_source=3Dfooter >=20 > -- > You received this message because you are subscribed to t= he > Google Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails = from > it, send an email to [10] > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [11]https:// > groups.google.com/d/msgid/pandoc-discuss/ > Yy2JG50GVYKtHDsA%40localhost. >=20 > -- > You received this message because you are subscribed to the Googl= e > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it,= send > an email to [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [13]https://groups.googl= e.com/ > d/msgid/pandoc-discuss/ > CAMwawgNJjZ%3DJB3751cmKvBB9GSQ-AuZ2f1oEwzjrbgg9qsW_kQ%40mail.gmai= l.com. >=20 > -- > You received this message because you are subscribed to the Google Gr= oups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, sen= d an > email to [14]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [15]https://groups.google.co= m/d/ > msgid/pandoc-discuss/ > CADAJKhCYFW%3Dk9fxM6eLM782V3%2BsQ7_X9eH_7LfxO69z%3DDwjONg%40mail.gmai= l.com. >=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 [16]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [17]https://groups.google.com/d/= msgid/ > pandoc-discuss/ > CAMwawgOjpuNWqcFg7CAYansucXhp%2BF_mk2rdLCJ7K3-8Yzd_bQ%40mail.gmail.com. >=20 > References: >=20 > [1] mailto:bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org > [2] mailto:amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [3] mailto:amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [4] mailto:bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org > [5] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [6] https://groups.google.com/d/msgid/ > [7] http://40mail.gmail.com/ > [8] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [9] https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOpaV0jvJccC3z= hnSWprWQ8d0qbvH1W8TRF1KObFYH9fA%40mail.gmail.com?utm_medium=3Demail&utm_sou= rce=3Dfooter > [10] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [11] https://groups.google.com/d/msgid/pandoc-discuss/Yy2JG50GVYKtHDsA%40= localhost > [12] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [13] https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgNJjZ%3DJB375= 1cmKvBB9GSQ-AuZ2f1oEwzjrbgg9qsW_kQ%40mail.gmail.com?utm_medium=3Demail&utm_= source=3Dfooter > [14] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [15] https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCYFW%3Dk9fxM= 6eLM782V3%2BsQ7_X9eH_7LfxO69z%3DDwjONg%40mail.gmail.com?utm_medium=3Demail&= utm_source=3Dfooter > [16] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [17] https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOjpuNWqcFg7C= AYansucXhp%2BF_mk2rdLCJ7K3-8Yzd_bQ%40mail.gmail.com?utm_medium=3Demail&utm_= source=3Dfooter --=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/YzHEkBq9r46iJAFG%40localhost.