From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WMoVCRR5y2HAOQAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 21:52:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2MgaAxR5y2H0ZgEAG6o9tA (envelope-from ) for ; Tue, 28 Dec 2021 21:52:36 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C64DB24012 for ; Tue, 28 Dec 2021 21:52:35 +0100 (CET) Received: from localhost ([::1]:45548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2JSU-00047m-W7 for larch@yhetil.org; Tue, 28 Dec 2021 15:52:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2JS6-00046x-JN for emacs-orgmode@gnu.org; Tue, 28 Dec 2021 15:52:10 -0500 Received: from out1.migadu.com ([91.121.223.63]:55124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2JS4-00066n-D7 for emacs-orgmode@gnu.org; Tue, 28 Dec 2021 15:52:10 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1640724726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yWCz9L+r7WrhBzPPtvfzXCFleY+Ctwi9dpP1ANVYNtI=; b=gwBizy/FF6hAZFL/MCWuWd4ZQk5WizHiD0wsVp5NiE2Maspsw2RIzTVDQ87VMd7uVNyaEI hQtwiTHBWe1MHYdnRqNNSf7nbz+/Boszer/V6wSSEDYrt6icVy/JtiDiGZZK582kZe3LCv rWi06FURcOKXlyMQWv9/+71I5A+BS2t0BKz7faL9eFw4gkUf06kGMGd/V+mRxpf+kq9CbE tpNdVAN2ThYYztqFn+qzjisnBAIHPlh9zIiT4JfbebzwiUWXYMVzkPS0jkYsCzrt2FuWZ6 wzqDf1aILQGfuGrV3CUBJDYwm/IwHxMwWQeuz5jnSt4WRj2+16tDRaCkVKLeaQ== From: Kyle Meyer To: Thomas Ingram Subject: Re: Export org to just body HTML In-Reply-To: <87y244tq7i.fsf@taingram.org> References: <87y244tq7i.fsf@taingram.org> Date: Tue, 28 Dec 2021 15:51:59 -0500 Message-ID: <87o850o3kg.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640724755; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yWCz9L+r7WrhBzPPtvfzXCFleY+Ctwi9dpP1ANVYNtI=; b=cvs9h8WuUbmdy0DSFq3LfPdfeSRbAr2eeLu5G8HY1qXXBRHuVCPP8IAuGEky3PIvJc55wB 8qqdaFtVfdxpJ3KFpKLX/Evx7X/C0WtmGM3gCDvZnEK7+zue8ewtZRFC+m0zbOamyx5Gr0 KIxHk+cFJzffzrxdq31YX3whyo2FJWe9z+DfFfIjhVgNkcBY4dyX04q0ZDG+IpmipXo546 7eES8j5OrJs6gh1h1uW+foTzPi6n3LNsRXvBxYx9nxPPyQ6VtILHCXLkHC6GoRh+lE5IJk t6jCo7Q1QvuJUIGtU7AdoaWXwUuPpiTl/6+YBMHayeo+jzBESXHYabDbdxhm3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640724755; a=rsa-sha256; cv=none; b=WKyqFgvvN3drPMFboSqw9vSQ3zaDLvSxIkCFkocy1B8Y+auh8dRjGjoPaxfBZKBGYiZHYF gW88nTB34YG7wBg+B7rfJCAfzRrl3jRJsPuNal4eos1aIk5RSP8AXdMxYJF2WcWyoaVwxB dyvYCAmO7UmYFX/XaXX5lyvhxrp2rZpbeysytenkeqJg1aLM1WWyw81ciBIdR2OvSqOptL Da/y75Vt4uPuwupw2upBHFYJ0I6Y4L3BCMzUgkRYbtfXU1ediEodACqpmQ6+QVTnazJZd+ 5stXXjhQueC4hb7h2D9afYbedVJZtsPvVl8y6P+/1cfjqCM1ZmagFJ0bOxz4+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b="gwBizy/F"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b="gwBizy/F"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C64DB24012 X-Spam-Score: -3.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3XYXIoGdsKqn Thomas Ingram writes: > Hello, > > I was wondering if there is an easy to export an org file to HTML that > is just the body of the HTML document. Or to put it differently, just > the HTML formatting that is actually displayed on the page and no extra > metadata (no DOCTYPE, html, head tags etc). > > I often need this for inserting HTML into existing documents or for text > boxes that support HTML formatting. Have you tried selecting "Body only" when exporting to an HTML buffer? With the default bindings, that'd be 'C-c C-e C-b h H'.