From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GOjYDcvvlmQoUwAASxT56A (envelope-from ) for ; Sat, 24 Jun 2023 15:29:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gOyVDMvvlmTaYQEAG6o9tA (envelope-from ) for ; Sat, 24 Jun 2023 15:29:47 +0200 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 B44203DC9C for ; Sat, 24 Jun 2023 15:29:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qD3KD-0008Qv-1s; Sat, 24 Jun 2023 09:29:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD3KB-0008Qk-Pr for emacs-orgmode@gnu.org; Sat, 24 Jun 2023 09:29:11 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD3K9-0001li-QA for emacs-orgmode@gnu.org; Sat, 24 Jun 2023 09:29:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 972E4240027 for ; Sat, 24 Jun 2023 15:29:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687613347; bh=TErofLYgmhX3Xh8nus0044lXd22A/T3A/60/OSMbsvE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=H84XR45IpxBUcGUFScYvmLPdXaB4VhO46co2UBGQ70jrYoXJ2J9B9X1XBMFA8GgzC n2uzVFB5Tqqq1ja4hpjRevxhoDPt1cf2q42geADrQCFXeJctrVeoySlgU44LhCx6UV v/THUQTbcYirejxFunANYMJojHULQ7YTuvVV68L4n+we/e1jRmrzgUbSzINA1Wjx02 XCoEQPN742rDSugTDAo+fI/XcBXFlxR/q+mQJmQNyFY7gcNFMRMA271iU7hb6PIUMz eQ+8wT3GTXYEmtTgN+pUlOVzEdnnCDCLXFrGdhmJ95/46/FXcXNLDsvbQqpnu2/T/t qKfEWjPtorBHw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QpFLp46ySz6tv5; Sat, 24 Jun 2023 15:29:06 +0200 (CEST) From: Ihor Radchenko To: Marcin Borkowski Cc: Org-Mode mailing list Subject: Re: How to export to the simplest possible HTML? In-Reply-To: <87v8fd6lhh.fsf@mbork.pl> References: <87353exyyz.fsf@mbork.pl> <87r0qyuyoa.fsf@localhost> <87353dr73o.fsf@mbork.pl> <87ttvpp68q.fsf@mbork.pl> <874jnpdtei.fsf@localhost> <87sfb9oyjy.fsf@mbork.pl> <87ttvpkkks.fsf@localhost> <87v8fd6lhh.fsf@mbork.pl> Date: Sat, 24 Jun 2023 13:34:01 +0000 Message-ID: <87pm5lx9va.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687613386; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=q5O0pzOumDjZAnmdia0EJGPTdnmGoaGXvVkfKwHZqmo=; b=jnq07Ku42LfrXGOojxV751veNJzW/0FndVAIHr+n7J5NcfxNdD6t8/ooWYXhOImlmpdaDQ NkOXaciGtw/hFOtDOSrUQFzll+Sthn+CWRcGSK2VRzm+wtrQtsDJ2h/xheakWDlSjDzyTa IfA9ujvVsJpKF8p+ikeGRRAzvYBd604aRT5vz5qeCq6BC7J0btidZAmPO8hNzGzQ7BEcGq rLZF9sBmo5vk5bWdbkS9lMo7ESMq+vtr+bN7pFy9xw1kAUlJRBdu8cNt0Wl/fL54bqQm+W JTVAaAHWMKC95JMJjuFcxrZS5IbiOG7pehYbu7VdK/D9wspqN7XUSpzCVtVLkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=H84XR45I; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687613386; a=rsa-sha256; cv=none; b=e0XsH9us8fIyFeO7Ee3KzLZ7cc0A1g+p1pXMXlMyVNv1g6KGgTHtTdbpoNJfcmEG/nOcei UV/dB5gCwFIH7GTFZ85XXbQY92mNTM/HZLomHHp4h025ik7QJjk4jPHLUIDOQuiftjledF kXSBAH2pYxgT9MLo1xV7Nysr1Rt4wqG0t9f5B0S5RQ+BIWDnK155PQZwZ3v9TJXbyPLlDg Dbut9c+6l4aCxg5mW12pCn32v7rry1w3T0nf1fcrTjxFiwlrHP/6jQjaxnMeEj1aWGd6Rd CsRHnOrEQVjcBzCv/yz6N4khN9lRpV57/tavbQSWjP5CxkQYTsgejrm09pz0lA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=H84XR45I; dmarc=pass (policy=none) header.from=posteo.net; 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: B44203DC9C X-Spam-Score: -5.23 X-TUID: dvGcv1ttf8Ol Marcin Borkowski writes: >> Org export passes the actual parsed and filtered AST that will be >> exported to `org-export-filter-parse-tree-functions'. You can modify and >> traverse the parse tree as you need. > > Yeah, that I do understand. Problem is, I don't know how the AST is > structured, what functions operate on it etc. I am aware that I could > learn all of that from the source and experimenting, but it would > probably be a bit time-consuming, and other ways turned out to be much > easier (which means better for me =E2=80=93 I want something simple). I tried to provide a summary in my recent patch. https://list.orgmode.org/874jnudps5.fsf@localhost/3-a.txt You can also refer to https://orgmode.org/worg/dev/org-element-api.html > As an aside, inspecting deeply nested structures in Elisp seems a pain > in the neck. Does anyone know a good method of interactively inspecting > them? https://github.com/mmontone/emacs-inspector --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at