From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32606 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: H Newsgroups: gmane.text.pandoc Subject: Re: Creating a partial HTML document Date: Sun, 14 May 2023 21:18:37 -0400 Message-ID: References: <59aee5dc-9dbb-4c70-8f33-4c0722546638n@googlegroups.com> 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="22341"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCEIZSNSZ4IRB5MQQ2RQMGQE2OMLUWI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 15 03:18:51 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f190.google.com ([209.85.215.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pyMrS-0005dV-OF for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 15 May 2023 03:18:50 +0200 Original-Received: by mail-pg1-f190.google.com with SMTP id 41be03b00d2f7-5340957a1f1sf334137a12.1 for ; Sun, 14 May 2023 18:18:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684113529; cv=pass; d=google.com; s=arc-20160816; b=uh59W1y+lIIEyXsEjZLlKAxpjgzYUIO1bekAt/qcOUMY80ZLtMkydKosfUTwgeYq6a /eiqz7GXvLoL0nLDaRN6ZPRj/jT+SY0wwyqKLxcD95eyspC24ZQwB819M2ejG+SFjfZS y0ndmr5dMt1b4TCWy78LCNJeReC91vJupNEggMR7ANJtV0ARtlpWEh0XR1eEIj+ArzWf ItnH2GXNk4yHZqgnF6wg8qvvaCM8qcRQ9v/GXzBDVKFTk81azp9DQFV14rW+CNszl/Yt q7vpe+fPhgykefabwti1KEbIZpaok4uaR/BN3vy+jmIlmK2ZAw+VjnLccAlttb+fJNbJ M94A== 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:ui-outboundreport :message-id:from:to:subject:content-transfer-encoding:mime-version :references:in-reply-to:user-agent:date:sender:dkim-signature; bh=5Ed57wnIXupi/IKaEjlL4gMUf2pkwwf7ztmNIfVe4Q8=; b=IHHWSZVHvL6CYXCQV9/PbsYyfnyFsX1+PIjJ4jvV10Z8RR+RXGtZuWQ91uywNFloM7 mz3bO/veuEy4fCMHI1XcMJRx7PlyhnvWERycUqTtfbEHWMJibu8dHzb/gICEdauhSZck ONEqBHJAYkZtVOjm/w0RFYwSlpovC8+aXNa8vmTYZI7nY9u6qbzPhrrdgvgIBsiBwJfU 86hbddbDcwVkyCehD7AuOA/hAAeJ7HjY6dMCXCLvdltt6CcIecL2SjedKmVbPdqx8YAl QG/FSoSiMomjQiPy5qxIQ5mB2Xgnaam3RwSxtM1XRZmvhJH0VZZFboJwGJQcQ70cQwsE xu0g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.194 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684113529; x=1686705529; 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 :ui-outboundreport:message-id:from:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:sender:from:to:cc:subject:date:message-id:reply-to; bh=5Ed57wnIXupi/IKaEjlL4gMUf2pkwwf7ztmNIfVe4Q8=; b=gWeKZTGMPfbxj1Q4QnzexpRVOMArTrYtXiDikE6hMCSqJfG/IaOCGjU2sD1n4d6doj 6E9SSP3PFPyKLEK/d7O19jmvGcbWqJgAwArhXsLH9FZJsUbUxfC9ooiuoTk+E6vqevkf g/B2mNFH7TIfoxGiQUgsf5NI3z1MxV2Zit9ov2LnSbDJXK5qazEoJ/+9arz7wIKO0hF3 Iu9nQHhDJeanf9gqNHNS2+e1XHgB9MiBayYCGFdl8ER+H2b1soxOEQLk3STT9RP6JhvR 3Cs327HT X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684113529; x=1686705529; 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 :ui-outboundreport:message-id:from:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:x-beenthere:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=5Ed57wnIXupi/IKaEjlL4gMUf2pkwwf7ztmNIfVe4Q8=; b=UV9JR2BBcwZGE8zSVmlJY02EcpU1/Robz0be1aBSQhn5e41dPyWhOG0KQ9V2u2n0vX XzmInJPFYK2GBGYJ2CI1CRwe/0FoqgDmnIOsfLOvTS5Y02nKww6r+asxNpkJwYyhNqPt XnTqy5dp/LkXwqNtGL9xmEBEqjsd8p+Ip5XzuQSSA+Uh11t6kZo+2CK7DRZ3yj5N+tRv vse60CFtW3UdWbfxmQp Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDz9rwkBp9Ayre2Uy5Z/5my8keqxMNrTPGXhDHkqF6QbV816fCR3 L7HNHGMUK8N63pg3nsOTbdc= X-Google-Smtp-Source: ACHHUZ7TovNtO5vCyXQjQYmYTHdy/xOHhF3V+JFol/d0j7werJqSB4Jr6y7c9SrnYupyNrIUKjqB9A== X-Received: by 2002:a63:f48:0:b0:530:b780:2152 with SMTP id 8-20020a630f48000000b00530b7802152mr1236362pgp.0.1684113529402; Sun, 14 May 2023 18:18:49 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:903:786:b0:1ac:40f7:8b66 with SMTP id kn6-20020a170903078600b001ac40f78b66ls13697414plb.4.-pod-prod-gmail; Sun, 14 May 2023 18:18:45 -0700 (PDT) X-Received: by 2002:a17:90a:eac2:b0:246:8497:37c5 with SMTP id ev2-20020a17090aeac200b00246849737c5mr30491154pjb.46.1684113524970; Sun, 14 May 2023 18:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684113524; cv=none; d=google.com; s=arc-20160816; b=XDdrT6RXWICE6utr8l1VPY/OCpEo+WbEGrwubTbPD6398EuIK5IDH92emihLFJ9j14 bg8GQXLiWU05HhejAb6TtaXcU2B9QBXqlOTUZqDVOMYLPG+0YK2tDFbnbboj+RJoC+6C udOkHQGBEaeQcwCzKKl5LSX5MWDmQknXS0lbWhpXWwaJT9eB4sLnj0JkB3hjLws4myiy 7nRGqB7/1/Mvx2PpVvR038K+qVdN9jNNrzO/6qvTnCnWyBly0A3fWKTu0F4H+UHoeQaE bFcqIqwyVEftspihY/PRWVeUPavqdNJXPpvLjLxoev/CamTiI8xvGF2aW0tc9R8uyzgA fHgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:message-id:from:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date; bh=lf0hfdpBjK+V98JypMxytdxcibbIc1e8NJV3GiOVqog=; b=OVOza7iZmSh5zxsMHC3OjZZhr1J7+IfEALjGvNaTrtYb6d0n97e9LPiy9hZZw3jIYC H4pD8XHtmspXzpTu/K3eYes+z+xUh1Vynzx11ITbpi1sBjs1rZ8mkT57dwPziEkthAON nLUJqP6LAbe/DGhwWAbXo1ote14TlbqyBlYfizHUjF/7SRAXX+n54DhvOHHkQGOYwq5f tqMRujQ+PSA4DkecDIhLhqwKFYJ5uUVeRWm5xMSXE3ZhT6dvJk+yVoA2zBmohN9dTa/V +xL3fMVK/zQ/MDjSvpYlQoEYrdqYCTgmrO6BrUelA0TYCogtcemrubqSHM3YN1S2yNF1 EucQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.194 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com Original-Received: from mout.perfora.net (mout.perfora.net. [74.208.4.194]) by gmr-mx.google.com with ESMTPS id px9-20020a17090b270900b00252ad81ba3asi416863pjb.1.2023.05.14.18.18.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 May 2023 18:18:44 -0700 (PDT) Received-SPF: pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.194 as permitted sender) client-ip=74.208.4.194; Original-Received: from android-ebf15b6ae8bf2dde.home ([72.94.51.172]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M5ukJ-1qMESw38zB-00xpIS for ; Mon, 15 May 2023 03:18:43 +0200 In-Reply-To: <59aee5dc-9dbb-4c70-8f33-4c0722546638n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Provags-ID: V03:K1:N+eu4oAfamjrGSLswqp0QDO0/meJg19ME0FJAPapGyAsZPMN5PF d9MYZhv+rH1fGrJKTJm5JX0Dmpj2dPAoguSYI5kEiZra9vJ5shLHYWRxCkOe5S098v2ogFg mhOLEo210vjtHrQAG1qT+9uGKzuZpMf9KRBnqEqYYAUWqgzX6/rPyK8FJCMSKfdJAfF5Luj FlgcPO1Rr4J43Tj5zpHIg== UI-OutboundReport: notjunk:1;M01:P0:k/zDc44YHys=;bNm2uRi0XsoWbVQdUvyGCcQnxlr 2kir9mucd/aARYAjIkOg7QgaHUSqhdbOrzpf8s9X5Xi5mEy5veoGW+20x+eCja2s/buBVisxg p8nfd1eu5H0t9CyUdbFzfgVmNEQEp+25lPr16asQRmrgbGHkW0+/Li5EKCyj7OsW/WxjnytWM /5Iryj+o8fhigK2XlxABW3/+gLlhg4x05iS/4aL6fkDDKKw5qhs69eLVOjo3TqUjEsuJWusiC s2VR5q/M4eSYcmX9e46x/89piKOQMOodkqqU/QM92yRA09zhUX+oqtjb54lDk4bcGl9DIJ5XB cJ+1QSUmpWw36n8zdaZTdOJbgAirxgmBL26eG6qwMSTi2Nrdl/WPAQQYvXOI5iKN12TagIOGY PyJX2b/WrXyTDJIUTcpx23if0P0jnI9EzWZL27ukrgJRfuzkGfpaT0hFspas5nVOpQPQS5F4c XxF/lDFNvUAixVSTUVTXAnsRDC0/KXZ3b1FXs3hwJoWscfNA95NiB252BMadHlvZa+iW7WgBd dQFkFZJTw/5OdgKBhGfuSriUsQjr6IzV8FVN9Ppd6TFMgQ4G2papUL05Y6mu/b259dpLMLF3y J3wB/NWCpg4w4ZLJD4nHtSC7Ux/CH0Sm+ot5722xNIujHzzDL8jX9rSLq75zD2NVwyVCsfLLQ 4phLuD8/9j1XLPjdGUE+Wf4Tv3U12K1uovidzV6iaw== X-Original-Sender: agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.194 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.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:32606 Archived-At: On May 14, 2023 4:04:35 PM EDT, ThomasH wrote: >Creating document fragments is the default for HTML in Pandoc, you'd >have=20 >to use the `--standalone` option to force it to create complete >documents=20 >with header and footer. So that should meet your requirements. > >I don't know about indentation of the resulting HTML, much less so >about=20 >your preferred indentation. But this is easy to find out and might be=20 >helped by post-processing if it doesn't meet your expectations? > >I also cannot comment on Geany, but most editors have a way of running >an=20 >external command on the current buffer or selected text. > >On Sunday, May 14, 2023 at 7:36:15=E2=80=AFPM UTC+2 H wrote: > >I have a recurring need where I write markdown documents using my >favorite=20 >editor, Geany, and then need to convert them to partial HTML documents. > >Partial because they lack the HTML file preamble and instead just start > >with
and end with the matching
.=20 > >Each document contains one or more "sections", each also beginning with >a=20 >
and ending with the matching
, and the conversion process=20 >should be handle the sections, regardless of number.=20 > >I like the resulting (partial) HTML document to use my preferred=20 >indentation/white-space structure.=20 > >Would pandoc be a good, perhaps the "best", tool for this? I should >also=20 >add that I would like to run the conversion "process" from within >Geany.=20 That sounds very promising. My markdown files use H1-4 for structuring and = then text in paragraphs with strong or emphasis added as needed. I want to = use this information when adding the HTML tags, together with style informa= tion for each tag that is predefined. I hope that Pandoc when encountering eg H2 in the markdown document would a= dd the HTML tag and the predefined style information and the indent as I wa= nt it. No empty lines in the entire document but clear readable output. Would you have a specific suggestion where in the Pandoc documentation I st= art reading? --=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/E19E3123-6FDC-4BD7-92CC-6BF1216B1E63%40meddatainc.com.