From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KKF9OxM+TWNCSwEAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 13:35:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ID2AOxM+TWPkWQAA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 13:35: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 7AECBD5EB for ; Mon, 17 Oct 2022 13:35:47 +0200 (CEST) Received: from localhost ([::1]:44970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okOPJ-0000c5-4w for larch@yhetil.org; Mon, 17 Oct 2022 07:35:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOMs-0000YW-Cw for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 07:33:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOMT-0006mL-Jr for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 07:32:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1C16A240028 for ; Mon, 17 Oct 2022 13:32:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666006366; bh=eU0sgVLeRmm9Ho/7UuNUxWJmGrkIyhErC2rUdy2YBqU=; h=From:To:Cc:Subject:Date:From; b=V4XnvEUnObeHrGWyCjzmqJmVutaGPM0ET52EZfyb7uDm+sGjPvwArbZI8a/8xNJ+N CNJe02xT1aejNSkdp/JdPzPG1VhBQ6FlnTCoWAymhdwCv7eMdg+xSvvOaJ+MoglRZU UjaoNvLZsorFbtnubzJY9ywDuNHIVCqlyFsPMqPxmSA3YbVhHrk30UlCYJU+CiMYdX 19feA3e5yaho2TmLT/OBJqR4hENbckTbqwqSW+2J/ZO6+V7s39dJXJ7E6LYxOtd7GF bjEahN5RXkioAgWIgozReYz9B3x0OG6RYTK00d3QWjXPndIAQRDExw/OZmrozxBkb5 /MZhJU+l0c4Mw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MrZbw6sTjz9rxP; Mon, 17 Oct 2022 13:32:44 +0200 (CEST) From: Ihor Radchenko To: Damien Cassou Cc: emacs-orgmode@gnu.org Subject: Re: Need for dedicated kinds of paragraphs In-Reply-To: <8735bn2b87.fsf@cassou.me> References: <8735bn2b87.fsf@cassou.me> Date: Mon, 17 Oct 2022 11:33:32 +0000 Message-ID: <877d0yr8fn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, 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: , 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=1666006547; 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=HnpJtaEg1TX9p/jZyMs7k4kHmEL8sk6EKFtFFpWkmy8=; b=ROfVRBPMH6g52L+Ra5V/S9GG49QhjYWn/kNaA3c+mTBaN6GJEwG7dwxkQ2xa5Zp8tEcAEH QvWUPS4l2EEtrgkvR22JehmmvKMiuZ3PKXkMU5+ishUqXOTQSDp35F4FJ1a0T7LrLY3qfO SupWUmzSP7lbS0nfroTN3AU6eIqKpdQuhMKIGpV5bw6+grzLWg/3MdlozS6s0A6H78dexz L3Op1n4grVlVl8p0tvkgDJppzBNrs6A45m8td0ce3lo7hidfOei0jy2WUpA0Wq5/6F2z2W /RzPC3kaZfJ0U307hKT1fFZo/MEPK469P5UL0WkShTUazjzf/777+tq299p/eA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666006547; a=rsa-sha256; cv=none; b=cK2OZzmmzNPQ4taloUnp1hWjUW3AU2MMXGpzdeVZWGyaJfoZR/ZrwNl5jmB/asuRuqMOBu UXFZ03EF00XIwHDSbgkbNevxGncfdIjJMszDXN6erOUrwAOSHycAvWT6snfY8GYCUUOJBf /9JNYNOrgAk1eb90BLxLc+E/ZOOGh4gQjOiZBtfCkOHKwEfGp4eLy9x6Y3udx5RPmgvpCc moKcbWG1JmLLGItriH0aCkZMgpYUA2vxRnIafeOrSh7d00YW9wi1wYWDKE0C9PIRxTgofP vR5EWD6fwWSBrTSaSO2+UuFp1oY7XsPyhuUuHcT4qbBiNSHSULSeS0scEjVE8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V4XnvEUn; 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-Spam-Score: -8.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V4XnvEUn; 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: 7AECBD5EB X-Spam-Score: -8.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: wqSGi1nHl2Zz Damien Cassou writes: > I'm not sure what kind of markup to use nor how to transcode that > markup. I tried with: > > #+BOX: attention > This text will appear with a red background > > Does that make sense? Do you have a better suggestion? Note that #+BOX is not a valid affiliated keyword. Only keywords from org-element-affiliated-keywords + #+ATTR_X keywords are considered affiliated. So, you example is actually parsed as not as In addition to special blocks suggested by others, a natural way to customize paragraph export is using #+ATTR_YOURBACKEND keywords. Something like #+ATTR_BACKEND: :style attention This text will appear with a red background Then, you can use (plist-get (org-export-read-attribute :attr_backend paragraph-element) :style) from inside the paragraph transcoder. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at