From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32156 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Reference link support in AST (for Quarto's Visual Editor)? Date: Wed, 8 Feb 2023 09:32:11 -0800 Message-ID: <9A64C448-20CB-4E7B-9739-61AD4730DB89@gmail.com> References: <5680a672-b7b0-d7aa-b35b-34693d3b2022@reagle.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) 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="12568"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBHVZR6PQMGQEX7XXAZY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Feb 08 18:32:19 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f56.google.com ([209.85.216.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pPoIt-00032G-4O for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 08 Feb 2023 18:32:19 +0100 Original-Received: by mail-pj1-f56.google.com with SMTP id y4-20020a17090a2b4400b002310ecae757sf1607699pjc.1 for ; Wed, 08 Feb 2023 09:32:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1675877537; cv=pass; d=google.com; s=arc-20160816; b=PuFiuOOpem8a5yO+9+5ihVSuB76O3q5yCXZ3GpjUgGpogGXKDvWAmA3jWiIwc3mBHo cV4CzyZ6vJdcKRR4QeWzBCppnJ+DTR2LVAbFDyvHJt9VCt83+p8rv5mAdyV0BFukSq+9 pGIYpeQo1fKvPPMWssg0qNfhM0cunkFF/78Gb1DqTCf51dtiQ6em6ggPBpYukgtq4pYB sPbvSjo2zpFawHL6vYBFH6xRSQA3Cbcy3mvAQF3DUzcBUqeCBdYusiIWmaIgHUqkXQhK PYLKtywpb8/PJEN2z8dkyKVTjvpu3Z62mEhgji3nBlmUokF3TafstpLvnKDXoSIGV4Ys bkRw== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=nnJidH1TJpGNFy559RPKe7gPIfIJKyKI2gJZrjxkeyI=; b=yifUxZNuuFbF+BFiPn4i4Hr30kyLfb+46w64w1pyA8YmkoEx4LIC2z6Yw1ISPuOPZM gJTjunsvgJJ8eA/uixTo+JRXBnC+L48EkwOk2Z8eMKm6KlesJY/HrlG+5mioTyadJ48V exAu8NISqh4WbBAW3sNusPh/EAcDWAS0T4TGn+QIiUjbSacmm+fzFPQmMJFBE1FxHZkn FzaVxS1iPUptBIDNKfAwvVSOK1NaW90xsonRahCWl00v4Xa+UH92cUTUgv3sShs3LLPz IvHF4DViJv9Q46YPIekRovr3SdXf96KMqjHd4LeFsW7q0gdOkPwVr2fu1/7leg8GWMhv LVng== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jPTqPYvI; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1029 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=nnJidH1TJpGNFy559RPKe7gPIfIJKyKI2gJZrjxkeyI=; b=EUEBGmylDf86W7AV3qrNXiz/sigxduuQxY0KmvZjD/WKYAgXvGpDQHyItwvmr7xlij XQdcdLx/OirIO9ko8oe5tjw6R4D579bZYt2Lku/o7pf6wvOWVQRutj9oWKoyEySv1/ys ZhV5gPoFyQJIlldHAN1/Xl8wOngaLUOxZ4hLK5fio5EBFByQ8i8X0d6G6Hdr/yly7Lxa e12ncepbPgkCyLIXfXa9faRVeESWnKRLd4I0nstdu7EEK/L9tcP/Kqx9xRJl1IqZJeNA a0xqhXy8O+PIiyd3eueC/okY7784Pa+QmrdK4M8QXL+o8A6RIFNWPsPDydnqjR5pq DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=nnJidH1TJpGNFy559RPKe7gPIfIJKyKI2gJZrjxkeyI=; b=NerwQVz+uyClOqC5ywSp4eK9kKAbHyH3mzfBQEHn1WYu0GGlnzNP+qmb+foixVBGWT aSRJOXWGys64WL8S6Sb6dKG5h7xyxUmT3F4rrQ7fNpgZKfxE82XYTouM83OMvQe3qHFo KLUaAXqIV3iRnTeFHp07XETnm2R+ABO0doM2JUk9voyiaJmYJ0Q/nog+50cVIKl7CwNw c3f1X7g4vFK0IqLlkHHR3n13TpuzoIMx7KklBh2/XNbHd4EhBfMEStK1s2z2IXOq07TN bCIAxyUHX3MVyNr0e+c9jIx0z6jZc1qsmTS2iN62MmD4cDRsBSzAsEn7E71JHYpmyPqp 6 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=nnJidH1TJpGNFy559RPKe7gPIfIJKyKI2gJZrjxkeyI=; b=ec7YzfMkfGWdmenEYP48iQaM9z7y12lPRhRYWsEt3InZobqwboyJA1p6iNWUyfXklm pTVwFBmFWRXqGYcBk6NIY+yRolleQyrvPSxUVDgny6YHd4Og16cpPytU0Llh+P7+NCtb J0bbhWc6MM5mY2Ga+m+SLn/tHzqn2skCv1Y1st6d33AYJ06qHiLbT0laJcTRxkGFNw62 xY514OFb7n4fxWUxCQGKgW+tMcpH35ST6xXmn0HOzFjVyQYXfmGWZ1rBr7d2ksyuC9k0 9hVxxDfWBZYywEc0lYEX Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKURWZuKSQlLbiyebnfeJ7tgAP9EOCBQC6KGXckuukWdA8oQ8h3F TgFlAnNty9YxVHx1zX+nNjE= X-Google-Smtp-Source: AK7set9SKwqbHykn+qYK9Th2ZNOnfAKJ4Nkud3/pnRF3WAlt7imMOH0cZUtJweyk7VTNPn1iWzHIyg== X-Received: by 2002:a17:903:12cd:b0:196:7587:5d64 with SMTP id io13-20020a17090312cd00b0019675875d64mr2066973plb.24.1675877537496; Wed, 08 Feb 2023 09:32:17 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:b613:b0:192:62df:a3e7 with SMTP id b19-20020a170902b61300b0019262dfa3e7ls20782384pls.9.-pod-prod-gmail; Wed, 08 Feb 2023 09:32:13 -0800 (PST) X-Received: by 2002:a17:902:e38a:b0:198:fd58:ee43 with SMTP id g10-20020a170902e38a00b00198fd58ee43mr5764108ple.12.1675877533762; Wed, 08 Feb 2023 09:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675877533; cv=none; d=google.com; s=arc-20160816; b=XiQo7k0GFsuN8oa743Js7qZYG3rBka6tuV2pC65Sj6yFpw5HnGsimcrYiHxfiOfugA YhCTGIEQ4YY5CGrLBDXRoEnKuahVCyMQUoiGNiovSHgu6sR9vGr4KBMhXwkRk1wLqJMr omNcuV3qNKYkuRAmxL55d/3/GpXVsUZYng0/yei8ES6YYFpZMVPdxY8y+lcPy4rq6BJh pLVeQ4jrM0PHNZOGFYRTHKu/xEvQqAZg6yReKtahSDVR5OrScpA2vzxIJgi9zAnP0jqU 4WsJPb2JAzn94vSFBB7trRSfIJYOy9vqr5rHu+6qnr505Df8VkggQkE5OYSV5jteyC/q BVFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=j17530n4drkXjZztLAEaFjdlh7qDfd+DFy/R2X+yLwg=; b=mx3p1SdOxVJB0DNKrAuJz1cDx0S/fCmXYGXGw8iDnlmszMpzxRVglnoffkUdBhAvkV 8kOHcCh8zlQrO3J6iSc0uU9TooKYKW4RvSuvR3HdE449DJVJUx6VvmAtzJsWw2maPfZU 5l9iOYrtElmCRHv/tVEVKqGQmi5xHOw89ShwDexFU02Qf356JIVU/eIYOtznK1Lb09F0 bsbZGu/bitnS1XZPGgmGz5rya3zOVcLFQtOMHxAas6iJTmkXTZ7PfJCSXBZIg+WCb8RI l9wgTwAr8awoBB+XKAjVNaNICdU3mvd9bZOkW2xeWvrJD+qiUegM0GfJYyxTI39rVSz2 h+9Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jPTqPYvI; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1029 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com. [2607:f8b0:4864:20::1029]) by gmr-mx.google.com with ESMTPS id m5-20020a170902f64500b00194bda5fdefsi1359066plg.12.2023.02.08.09.32.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Feb 2023 09:32:13 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1029 as permitted sender) client-ip=2607:f8b0:4864:20::1029; Original-Received: by mail-pj1-x1029.google.com with SMTP id pj3so19103168pjb.1 for ; Wed, 08 Feb 2023 09:32:13 -0800 (PST) X-Received: by 2002:a05:6a20:3b25:b0:be:982b:ed86 with SMTP id c37-20020a056a203b2500b000be982bed86mr7294543pzh.29.1675877533088; Wed, 08 Feb 2023 09:32:13 -0800 (PST) Original-Received: from smtpclient.apple ([2601:644:4780:3350:7cfc:11f4:ed36:b774]) by smtp.gmail.com with ESMTPSA id y15-20020aa7854f000000b00574ebfdc721sm11844409pfn.16.2023.02.08.09.32.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Feb 2023 09:32:12 -0800 (PST) In-Reply-To: <5680a672-b7b0-d7aa-b35b-34693d3b2022-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.2) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jPTqPYvI; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1029 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32156 Archived-At: This is all true, yes. Pandoc was not really designed as a reformatter. c= ommonmark-hs could be the basis for a more flexible reformatting tool. Could we change the AST so it explicitly represents reference links as such= ? In theory, yes. But this would be quite a big change, and potentially v= ery disruptive. Also it must be remembered that most of the formats pandoc = supports don't have the notion of a "reference link." > On Feb 8, 2023, at 7:50 AM, Joseph Reagle wrote: >=20 > I've been looking forward to Quarto's stand-alone Visual Editor as a pand= oc-friendly multi-line table supporting editor. However, it rewrites my car= efully specified reference links and they wrote: >=20 >> We currently aren't able to support reference links because when Pandoc = parses the page they are all resolved into "real" links (i.e. the Pandoc AS= T doesn't have the concept of a reference link, and since our editor is rea= lly editing the AST not the markdown text, there isn't any way for us to re= ad or write them). >=20 > https://github.com/quarto-dev/quarto/issues/42 >=20 > Has any thought been given to this? >=20 > =E2=80=94Joseph >=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/5680a672-b7b0-d7aa-b35b-34693d3b2022%40reagle.org. --=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/9A64C448-20CB-4E7B-9739-61AD4730DB89%40gmail.com.