From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29056 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc and dynamically generated JavaScript URLs Date: Wed, 18 Aug 2021 09:13:20 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34237"; mail-complaints-to="usenet@ciao.gmane.io" To: Joaquin Garcia , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBLPD6SEAMGQEM6Z77YI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 18 18:13:36 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f59.google.com ([209.85.216.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mGOC8-0008g2-7m for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 18 Aug 2021 18:13:36 +0200 Original-Received: by mail-pj1-f59.google.com with SMTP id 61-20020a17090a09c3b029017897f47801sf4855540pjo.8 for ; Wed, 18 Aug 2021 09:13:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629303215; cv=pass; d=google.com; s=arc-20160816; b=N42Wb4Uj3Ln+tdZnK8nW4GLHeR9TZxvh12gL5yk31yS1+zhZBeJ4/pKiSLUazkhtTV PK+AXCI8q+2l16UhicEtyV/mL6R96PH/lkUT6WG5SFupKHxikF0uLXxjP4mAAakf/4RV 8KYHIiA9kLj7xriCx/RfcfavHVskLh/XYHiKw3icBztTuJtw7ylwIqVQFYpcM4VgVyr5 oB0uxX7cVrsUORK3U3nQk85qdG7B8pUjBXW8V78R+nk89umCNYYr59UvXYGc2Il1ox98 88irZSOkswy/JjBFWiqJ9mkYI8C7RYTHqPtNCbsfIOBoYbCOIOiWiL2P3PipsRhOb62T 8Llw== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=HF53VXjZIr2YflgSUTDidnUbJdgQVhnIvV08xVY9jeM=; b=oHgEAzK86rww20mskf70Bst24lh5I/htUaXATG8L7rN3RXzzgWOZa5iMsfoZwpYisV Fq/MwaUUwqsPQ4GodGq8TAFN19SFqQ4SNEiYRSha5dG8w/oDkalWhtNj9UoDAiQ24mW8 7dmMVHzbeC2iQIx0x4maAYaIvDuPxfh17818/4SdpBJo7DV7PGH9EykCdkbW9oapdEEL um4WKTn++UeSu9Y5UvCQ9dfdkF/krOTwyjdyvDW8d9t5F1k15Eibbt0S8wjjoH649z/f p/YhX4WUKuZVotAFkYDWZPrX8qQVb4dUf0J9M6uZ7FfaIxtWg3svq640i/lqWklU3IRa XDeQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=TWpAqn+K; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b 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:to:subject:in-reply-to:references:date:message-id :mime-version: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=HF53VXjZIr2YflgSUTDidnUbJdgQVhnIvV08xVY9jeM=; b=qVbO3BRQGpyMmfu3wkRAGGL+p5lSpHOxGd5waobBLlROVbWn69WMainQzFWWI6dbq7 LGz1xF28BC4VUXK9VBa2L73c/LtPkk8pxOOBlsetVX49RaUkEpsvW6jlURsm1Vh89fWx GcK3Syyhafxx5rsdhiIJua0vb0sJjJXs5pfLrmcF27dDdNOXvB+wnvmLQyaF8VO+3i57 IRTu/Yo/qygV4Dtjl9CPBJj9S+ASKTvEXU+U2idFd7W5m03YO9kMPLEP7s117pjqI7Vw gOUPmFDeaO/+xW7yM7E+eysY4ohwB3YtGZR2OUQqw4AEiWoKE6okGgaQidQ0fZB2NGrB LmFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=HF53VXjZIr2YflgSUTDidnUbJdgQVhnIvV08xVY9jeM=; b=q+P3MHSxT/8JfqoppekSVtx3vSAGT9F9sAiuBlAAMR6gL671ftJmDIn1w9hW7ylfNB zigSuILSPZGKjbef0MMHtYhJQWZv3nZRzKY1uACaq0MzwaRgY+nxeBKlnllIaJBtZXqv 6Eh4GYgxyg8nxDiOlHNqMf8rCsO2T8JRlUEG3W4O60pSugxWEC/inpAYZQYS2l9ZlstL U1kfbL2qBpZVa4WC+d38lp72bDnGX8gcaW6yxfL0ms84AZFkYox7NqC1S3ZyU0/MkjDg PXMeq1WQ1Y5mLkTCVfkXtJt28Vp/NrEgt/OxEPw99kv2Zdfn0ylM5sKN6FSeHPYJEKEG 7RfA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5336zjCGazkCO91FONMdU/+SN7QpofNK9WtaCU75UTJiHSwddYFd 9e+h33tDXU07cnJOdT180J0= X-Google-Smtp-Source: ABdhPJy/KsivPZZYH8hCeW7ECtJ1ucjD1rKdeJAvh69ZnN/gPnSCEOG8nkPvxkFmjkRBGVJIMQSpFA== X-Received: by 2002:a63:306:: with SMTP id 6mr9627809pgd.237.1629303214905; Wed, 18 Aug 2021 09:13:34 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:a38c:: with SMTP id x12ls1382943pla.6.gmail; Wed, 18 Aug 2021 09:13:32 -0700 (PDT) X-Received: by 2002:a17:90a:2d89:: with SMTP id p9mr10179655pjd.138.1629303212778; Wed, 18 Aug 2021 09:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629303212; cv=none; d=google.com; s=arc-20160816; b=Rilb59ppplWG38pqn3DL++K/LBVj2RyhjoGG/wPfaeVmoXNf1iUNE5h6MGTciNJCQJ s1YefKUDTSRaiTJbVyChP0q9x73vrn1sV5CVZaEEn5DKaflA+utZYIkcLjHof+vrqgJz U4ec2DWZEbpl9BWe34N4Qscmh21KrFmjfvsi5YJdd7FBtDtIoDlVgKRJn0LVMbASpWdq GWzOrvp8WQH7bowPLfcUMu8M3pD50a6ekiT8pTaSLQ9Pt/DmGQsucZnjyHVJq3i23NWC zeI1hI2zVU9RLmqoH6d+Qekx7c2Zbjs+CdHoG8hc+DsiIIYSdiMWjsTNYXf3OF+YfCEA AoTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=4em7EkNdCCFalFiyLYQ3h4kOnVtt5GwPpordhX7xSO8=; b=XaOci1bvuC4ATgdHUFg/lzPJ8rEQOkbiojBRQPkzoAvnhwCxgvFxi25dTOZtyQ4j16 YcJd7ecrZU5hGjG+fF+A73zTa45n4//qxxDmyVPjcUt2whnYwnim/l1zJvpw0VXP8YWA SCeCQ0NKIuvtQ2tT99MSA+lxrgUEb4GIj8amawy4FbWGKmovS58bjD9XJJwkSsbmv3f/ IaKmBBLT5UVTO+ZtnhykHOUfq5O7ELN97foR/gwfh7tW43STnZf9OH+FZaKCLLYX9pxo GNq0SRy/4xqk/fj+vec9Lk/f9ljhDkoIQ6CcGJ5fW/dS9daSYIE6KGn8VAXCBVDc8PI1 OuiA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=TWpAqn+K; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com. [2607:f8b0:4864:20::102b]) by gmr-mx.google.com with ESMTPS id x124si24558pfc.5.2021.08.18.09.13.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Aug 2021 09:13:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b as permitted sender) client-ip=2607:f8b0:4864:20::102b; Original-Received: by mail-pj1-x102b.google.com with SMTP id nt11so2958528pjb.2 for ; Wed, 18 Aug 2021 09:13:32 -0700 (PDT) X-Received: by 2002:a17:90a:c7cc:: with SMTP id gf12mr10005890pjb.152.1629303212316; Wed, 18 Aug 2021 09:13:32 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id w11sm194601pgk.34.2021.08.18.09.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 09:13:31 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id C9B00A2BC; Wed, 18 Aug 2021 12:13:20 -0400 (EDT) In-Reply-To: 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=TWpAqn+K; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b 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.io gmane.text.pandoc:29056 Archived-At: If pandoc is used with the --self-contained option, that's what it will do -- make the HTML self-contained, so it depends on no other resources. However, you can disable this in an element (such as a script tag) by adding the attribute data-external="1". Joaquin Garcia writes: > I am working in RStudio and changed from using knit2html to > rmarkdown::render to render an RMD file which generates some plots using > GoogleVis. The issue is that the .MD file contains the proper link to the > script URL but Pandoc is pasting the script contents into the URL, because > the file is self-contained. > > Currently in .MD file (should stay): > > > > What Pandoc produces: > > > > How do I stop this from happening? > > -- > 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/CALJ%3D7rGPR1B06DrKEsss1P9SBt3yARkn2n%2BkL%2BWo4SiNNwpMHA%40mail.gmail.com.