From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33078 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lewis Campbell Newsgroups: gmane.text.pandoc Subject: using raw_html with a template file Date: Sun, 27 Aug 2023 13:24:49 -0700 (PDT) Message-ID: <132121c3-8a51-45a5-a6ad-3acd8b9b204fn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_54310_343058989.1693167889908" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18022"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCUJZCHGYMORBE7CV2TQMGQER5ZMT4A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 27 22:24:57 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f184.google.com ([209.85.214.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qaMJc-0004Oq-U5 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 27 Aug 2023 22:24:56 +0200 Original-Received: by mail-pl1-f184.google.com with SMTP id d9443c01a7336-1b88decb2a9sf37951025ad.0 for ; Sun, 27 Aug 2023 13:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1693167895; x=1693772695; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=RH0Xbm7KunGnB/X+MLig9xvRZ9li8EVUBAPTYbQ6aRI=; b=saYE7qR1SkAOD3ihAZLza+1PWt0FZiODRF9Ta6W9h16BsE6cbrkxYiHOuWSYHWO0iQ m+5YeNX++T/047oE3j6Pj3Y5hQztvD71Ti0xq/AvUy3xnhY7YFeRC+6lY38qsa5jCn4a bpYj1XbAlXQbqQ9zz/QuifFw15xd5g/rMV9Glfw+xnQKNteXEmk8+rDWd49GrVF3Qddk /1dq1X7KQ9l8+azd4TdPieS9dv0znGK+Ue1w1kW+V0JGH9ugZNyfJh9l40oKUAE5yGBi klzcg06NnpWld93W1INFK0uUwE42dxvbSq6O5UsXzYsIV20r4fFWOd6XcYHdA7EC6zrl X8+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693167895; x=1693772695; 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-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=RH0Xbm7KunGnB/X+MLig9xvRZ9li8EVUBAPTYbQ6aRI=; b=iE9die0XSyq/2KglRs4nvCwKGOldk6hPOMEVT0+j/sHc5k/8w2AWYzjTmK/5HJEZ6k jlwXPgbMdf+j4oa2RpHfwew/s0fRtCJ3vV3Gy0sLCG0TZpXVQ1YBMGYQd+xzucm1J2BA ErEQx5adVaWuWku52aNoIyUC1DbAMIQ+fUHM7IKElJO9kWbMoucO5ywOIfAu3MYk9SAs XM2i3uERISqckM2CqSgvPjZA/yuIAXHokknMZzYpe2mGYDUquoXt0nEyYLbjvUZkxoX6 QeY9O5eHllShHK82eG1O9kvSQwoel/17hBJ1JmjEd7/pyFzXFpzlgM8EMFUNixEOFzIb Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwxMfojWoEpb3Kb/GPIx6fxVuLUh4775e7A1SSCeNFhmNqOATVN ZX9tumZg/hVFFlloBHaFx7o= X-Google-Smtp-Source: AGHT+IFx9BEX3BJ+6IV2IELN81Uy7erpCUzCGSJVXtug699RJgP8CpiLz4vyf1Xype68N5IKi9hQIQ== X-Received: by 2002:a17:902:ced0:b0:1b8:8702:1e7c with SMTP id d16-20020a170902ced000b001b887021e7cmr37535316plg.33.1693167895499; Sun, 27 Aug 2023 13:24:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:64c8:b0:1b8:10b0:9ef2 with SMTP id y8-20020a17090264c800b001b810b09ef2ls1227350pli.0.-pod-prod-05-us; Sun, 27 Aug 2023 13:24:51 -0700 (PDT) X-Received: by 2002:a17:902:e5c1:b0:1c0:bcbc:d55 with SMTP id u1-20020a170902e5c100b001c0bcbc0d55mr3175590plf.5.1693167890912; Sun, 27 Aug 2023 13:24:50 -0700 (PDT) X-Original-Sender: info-BjmHwTF8N1ySFVMorQ9GuHIPMjoJpjVV@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:33078 Archived-At: ------=_Part_54310_343058989.1693167889908 Content-Type: multipart/alternative; boundary="----=_Part_54311_395260784.1693167889908" ------=_Part_54311_395260784.1693167889908 Content-Type: text/plain; charset="UTF-8" I'm basically trying to pass raw_html into an html template file with a $body$ variable. But even when i specify raw_html in the from format, pandoc still mangles it by stripping away elements like section from landing.html. Have I misunderstood something? pandoc -f html+raw_html --metadata title="Lewis Campbell Technologies" --template=static/template.html -o www/index.html static/landing.html -- 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/132121c3-8a51-45a5-a6ad-3acd8b9b204fn%40googlegroups.com. ------=_Part_54311_395260784.1693167889908 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm basically trying to pass raw_html into an html template file with a $bo= dy$ variable.

But even when i specify raw_html=C2=A0 in the from= format, pandoc still mangles it by stripping away elements like section fr= om landing.html.

Have I misunderstood something?

pand= oc -f html+raw_html --metadata title=3D"Lewis Campbell Technologies" --temp= late=3Dstatic/template.html -o www/index.html static/landing.html

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/132121c3-8a51-45a5-a6ad-3acd8b9b204fn%40googlegroups.= com.
------=_Part_54311_395260784.1693167889908-- ------=_Part_54310_343058989.1693167889908--