From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EEj7M+PSyV+oeAAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 06:10:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2MXIL+PSyV93IwAA1q6Kng (envelope-from ) for ; Fri, 04 Dec 2020 06:10:43 +0000 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 67A9F9402DD for ; Fri, 4 Dec 2020 06:10:43 +0000 (UTC) Received: from localhost ([::1]:45980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl4Ik-0007ZH-CS for larch@yhetil.org; Fri, 04 Dec 2020 01:10:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl4Hb-0007Ys-DU for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 01:09:31 -0500 Received: from out0.migadu.com ([94.23.1.103]:15006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl4HY-0000AZ-3D for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 01:09:31 -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=1607062205; 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=V2BXMnjRTUwEic6gcgBd1Bn+9vAiiVV9sfwf3wAiCR0=; b=jvM7tdPoPy5LlzHxv4fy/99ueeWb7W4ghDs/JN64lT4uNRxheu3NZHkVbDrHdM93GVg49R /qg6LKPagdNy5x8IG35umO7P0ORFdnxCEyNSkDYSmB2WDdjp4T2fJFfBcRr2cehQBlFc12 2rLBMkEU1Avz0uyLbBMx9jQlHAj4tIKyv+iUeIwC3Ggu/YysZ18rDIMxJ94FkvWYaqxZEO 32if2Q1g7X+T8U9MK0Uhk8lMl0tuNICzDcsqLyk56ia2cdaJvslNelwm/1b2+B1qZL0ETx A95SjjuaUvDhkukdTqD9N4nDfHT3jLfzIwy2BDawXx838wII50KJRbZ12PxQng== From: Kyle Meyer To: Zelphir Kaltstahl Subject: Re: org-mode export toggle checkboxes In-Reply-To: References: Message-ID: <87lfeeje5r.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Fri, 04 Dec 2020 06:10:05 GMT Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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-Spam-Score: -2.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=jvM7tdPo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 67A9F9402DD X-Spam-Score: -2.49 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: UVqlMXcv6lCO Zelphir Kaltstahl writes: > Hello Emacs and Org-Mode Users, > > I have a question regarding the export options of org-mode. > > Is there a way to toggle, whether checkboxes are exported to markdown > and plain text (ASCII buffer / file)? I did not find any on > https://orgmode.org/manual/Export-Settings.html and so far I tried the > following: [...] I'm not aware of an option to control this. You could accomplish it with a filter though: (defun my/ox-md-ascii-filter-checkboxes (ast backend info) (if (org-export-derived-backend-p backend 'md 'ascii) (org-element-map ast 'item (lambda (i) (org-element-put-property i :checkbox nil)) info) ast)) (add-to-list 'org-export-filter-parse-tree-functions #'my/ox-md-ascii-filter-checkboxes) more details: (info "(org)Advanced Export Configuration")