From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id oDa6FE8dD2YV0wAAqHPOHw:P1 (envelope-from ) for ; Thu, 04 Apr 2024 23:36:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oDa6FE8dD2YV0wAAqHPOHw (envelope-from ) for ; Thu, 04 Apr 2024 23:36:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=alphapapa.net header.s=dreamhost header.b=jswT2ptY; arc=pass ("mailchannels.net:s=arc-2022:i=1"); 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" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1712266575; a=rsa-sha256; cv=pass; b=XTdFW1Cu5j4kVUVJqOglqDlTlZJJaLOCH77oT33FvI3cVB78fCwWaTt+wFRJS2/F2mpnxW AeZpMPPiLInNT3M7HmMyzvkaL0ZhD6coPCQCewJIHuGIa2xMUfxYbE6zu+Rvw8Eb6i12Kg 4Hp7G0C1b0U8Z4+2Qy8f4cMlF1lrhGIUeddjcEDA8A654dmEtoKwt1s5Y9NlKLCpUfoJGn wK7ui/jBFG4tNaIT1+Me96LKvgTdo98/aTyZe0sQ3DiOOEzjradLsiFuhEHwuMCMhP+Blr A9OC1Ynwj9Hi+kTlCZ/zaFmYWTrJ3XQiu1+C8smBo7NHVqGaTo9BIqcu3XASDg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=alphapapa.net header.s=dreamhost header.b=jswT2ptY; arc=pass ("mailchannels.net:s=arc-2022:i=1"); 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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712266575; 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=iiVzYZy02U88Fhe+oqfvyeEYV84oQiULWd0HDdcvPJ0=; b=W94026ZlJozvTIPmmvyl4xRYphZAidzpBvEsNK5d/wn0dMlYa52gOQpaeQYTGj0OkrLgGX t1BouVQ7FmrbwG/+3d3qhKAsx9AGkRHGdWMI6w+AtGSjgmQB6IkfajWH23FcZuG4LZeDSx 2fPxRrsJCWkMEz03NBx9WH7MbquQHb707kQ406lUmZ40d4ohmFAoBNDgVycB8wuXV0SxGG 5il45WjrvZZLSxr6jDklCWlAggKcAghOGa27/4zp/PUFVs2d24MSr4kawJGh/yL1zFft3U ktFhp6j/4u97wq1Az++N4LtQ73H9GRAmDnX261FFCXbiUEuKGY0YQE09WuNsCg== 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 4B77869C28 for ; Thu, 4 Apr 2024 23:36:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsUk9-0008K7-7K; Thu, 04 Apr 2024 17:35:33 -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 1rsUk6-0008Jb-Dj for emacs-orgmode@gnu.org; Thu, 04 Apr 2024 17:35:30 -0400 Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsUk4-0000e7-7i for emacs-orgmode@gnu.org; Thu, 04 Apr 2024 17:35:30 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EA44AC12E8; Thu, 4 Apr 2024 21:35:23 +0000 (UTC) Received: from pdx1-sub0-mail-a233.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8B218C11DD; Thu, 4 Apr 2024 21:35:23 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1712266523; a=rsa-sha256; cv=none; b=jh3X/1O5O2Ytu+TFuOHOuq07GDoNkcEWjxxUf0dQsc+G30ndXZGBXeqH0jdxXZ8wNI2amQ OkQLu75+67ODNCSi39XAg7Yvvz5xCQeZSugbIy4O03T4UM8pNACUlpL7SvdABFpJKnpEkp IFu5qS/hOGWt1xtBjJDy4aXSb9G2+XOwvy1IC4vlivPQpiYosApSXHHc1rpOUE1AAunbhM OnbK2jGZxKw976HnyxuzNZGp36pehxT5pgEY/ohpTnSoEyheJDewr0j62e+I7b4iXmDTuw R5T+uUIp0vyu5rFA8hPPZ1n0yhHe7uye1fPQvhDUSyIzTMAMaqj5/OvfwyHgmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1712266523; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=iiVzYZy02U88Fhe+oqfvyeEYV84oQiULWd0HDdcvPJ0=; b=eGjPSvQBMXso7coDwXBdjwgQzKRoGmvzPhBwM3urYRSaJALqZGkDQUZ9LKssAR979++wxe Oq5Wm2BmXPTY7g1fTIUwbNqONaifUwRDuow6DH5BcuoB7CVIF+Y9Z1A9EgM88Nupk6AhBg RQsr21l41pYW1YYCnRFabZgSGmF4qDAPBdRw9UcbRG6WS3+HBfdxieGg35oQuFGrsZySVR wfs43yhYuwfYV5XG9pTGwmwH8AcLNHraeqvRAbinPwZsJ5bU+4l6Xd0ttARAP97IY6Nj2j zrwq7bpipK6pVdShgft9UXYG8ebmuiuEegaceKtLw3iLm9pkcuVf0wBoacuVfg== ARC-Authentication-Results: i=1; rspamd-687b9dd446-qv82j; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Fearful-Rock: 061baaeb446a972d_1712266523811_261465321 X-MC-Loop-Signature: 1712266523811:1152813886 X-MC-Ingress-Time: 1712266523811 Received: from pdx1-sub0-mail-a233.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.117.91.86 (trex/6.9.2); Thu, 04 Apr 2024 21:35:23 +0000 Received: from [10.45.0.30] (unknown [45.131.192.7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a233.dreamhost.com (Postfix) with ESMTPSA id 4V9ZfM0DMJzCc; Thu, 4 Apr 2024 14:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1712266523; bh=iiVzYZy02U88Fhe+oqfvyeEYV84oQiULWd0HDdcvPJ0=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=jswT2ptYwEPsQYYKS3IwJ/vmqxyn29OcoBCcBKich43gePVFWRDrpBMCg+y2gfvdl A10pI6+xSFwHWXy4DH4QsGfJEG/NDfudPlh31oUC24EpK5RPZquLrXt8j2rq7u/8nj nlhBXEDqvrOEULV3tU+K41+aE0bcB+JYr4YzqaR2wjKcgeIRCAMK8UNLNBoRcTQfin fWC45B5lhlSuEYnTVMJpo6FRdbRj4VyXNyfLRtE9eq5anYheK+n0s0fqtjGo7Cu0mA /3boeHVwA5xeRQp7D2ZJSvyK5J+eshbCm4MK8BObJ78BNmBSxOQ+QWvg9vhGNnOBq/ Piju475JtFvDg== Message-ID: <43e995d0-9a92-4be7-8c88-59ffbc234ac8@alphapapa.net> Date: Thu, 4 Apr 2024 16:35:22 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Better support admonitions blocks To: Ihor Radchenko , JD Smith Cc: emacs-orgmode@gnu.org References: <8B86B788-3B46-4879-ABDB-3AD04A7EC0CE@gmail.com> <87r0flt5xs.fsf@localhost> Content-Language: en-US From: Adam Porter In-Reply-To: <87r0flt5xs.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: neutral client-ip=23.83.218.253; envelope-from=adam@alphapapa.net; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -10.36 X-Migadu-Queue-Id: 4B77869C28 X-Migadu-Spam-Score: -10.36 X-Migadu-Scanner: mx10.migadu.com X-TUID: gQJs6zHSkXEC Hi Ihor, JD, et al, On 4/4/24 12:04, Ihor Radchenko wrote: > JD Smith writes: > >> Pandoc recently added read/write support >> for "admonitions", >> which are a GFM construct >> already >> supported by other org-exporters, and on GH in markdown. This >> refcard >> >> references an org #{begin,end}_{note,warning,tip,caution,important} >> syntax which pandoc now follows (though it does not support the >> extra admonitions like danger/error/etc.). >> >> It would be nice to add org support for these 5 admonition blocks >> to the C-c C-, org block structure templates, and perhaps allow >> block face styling for these as well (ala org-src-block-faces). > > CCing Adam. We recently discussed "highlight" blocks in the context > of WORG publishing. Thanks. > I do not see much problem adding such blocks, although I am not sure > if we want them by default. I would tend to agree that they probably shouldn't be part of Org's default configuration (at least, not yet--if they were to become very widespread in usage, then maybe we could reconsider). > What we may do is to implement something akin link's :export and > :active-func parameters to allow custom fontification and export. > (... and add a new :structure-template parameter to auto-add them to > structure templates) > > Then, we can add optional support for all the proposed blocks that > will define how to insert, export, and fontify them. That would seem good to me. As far as Worg goes, I'd be in favor of having them available on Worg by default; they should be useful for writing documentation. Thanks, Adam