From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iKfnBtjdDmakWgAA62LTzQ:P1 (envelope-from ) for ; Thu, 04 Apr 2024 19:05:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iKfnBtjdDmakWgAA62LTzQ (envelope-from ) for ; Thu, 04 Apr 2024 19:05:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ma6L77Uc; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712250328; 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=8U0VwHm6Q3seta/NdRigfSBEL6nTN4uXp5jlELXUcMk=; b=W7PZS/bie6q8JLzBZu7tnqHUNAn1bQEAyG/+uvatWL1hV3cN6lZSau7ab9dPSDGX6TJ98H QtYU0N+2nUtOLfISEiVgkpdeWdioiGO4/oNDsU2VX8m8A1wpiCJgQEg9+aRGSbPSTtUvEc rb4XeETwkLuBcOUzOM07RxfzY8AoM3Fm2Njl9nR3w9UDWfaqHhozyV6q8qVUp5dm+sRxax nccCEPQBjNgUi9x857aNHr3Ktk9JLWnACae89xVlb6E7D/AdMIuUtoRxy8WMaSIiu4cDYS gIaLW5A+k1aFMtUr0g6/VbxNGBv85mh7dT+FEV6uRUWOLaLA2kchs9HteQVkYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712250328; a=rsa-sha256; cv=none; b=rkq+a8WJDtPd4PKhfYX1Ebu9OLBIOsTqrYDf2oaZVn8ZMs5g4msE3YdUF6c0nOBxGkf4ca 1u/lxd1fWdRKN/3qsXH4Lo5H/RDnpxvqQplXsLrnsKIzxcLfhppNyspXMQpmNQ3dMc94lp Pxw2LHvFeD/5p6a6N5/VrmF1myZ9ZTwyF6dnWr5HAq6fqwimIfD5izXeQTLnsVa3mH27gI /sAV0nPANungUAaZuHV+0L4thGK42I2Q8+dV636xSimumZvn4oW0MqVzCsOswVWaRIN5Is LQNinpmWJcUMv+923E0jjMBN6laC5JZp0Z4r9a/xQti+cA4bPjNlGz3NR+iT5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ma6L77Uc; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 F3C022020F for ; Thu, 4 Apr 2024 19:05:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsQW0-0005AL-EK; Thu, 04 Apr 2024 13:04:40 -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 1rsQVw-0005A0-LU for emacs-orgmode@gnu.org; Thu, 04 Apr 2024 13:04:36 -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 1rsQVu-0000z5-Fm for emacs-orgmode@gnu.org; Thu, 04 Apr 2024 13:04:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 77EE1240029 for ; Thu, 4 Apr 2024 19:04:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712250271; bh=Yj+NYwgOqQpk7uphKmS3NT1lLcCrB0WedlbJWVoBSl4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=ma6L77UcEcvKdYDVR0H2NfUIfDYNNHWCaxATiC02YCPCA2UVukYg/sWu1d1SBazc5 4nPPbcZN69T1NDkJiiCpdps23YZPSPadOf63rc5i3qR1OKiuvz8Ru5YzNI7MDDujY5 Rb4JMaK1BEPzF3sY61fVoFi0tR+aC2Kp7UNWv4CDbriVntbQF4+BEP4CqR0Jxm8Cyi dUvjOdP/QBDDMyPleQG5vmUz3EYw2nlBSNsmlQ88MbOCd5FEZ7iSpx6hMBusbAR8EY ANGcn26CDA1oadMBUTZMfRU3dsH/9fv9kMEI4rx1NXsckfEL9DD4bkCHZnLDBP8LM6 mmim+UHBuPeLg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V9Sdp2pW3z6tyV; Thu, 4 Apr 2024 19:04:30 +0200 (CEST) From: Ihor Radchenko To: JD Smith , Adam Porter Cc: emacs-orgmode@gnu.org Subject: Re: Better support admonitions blocks In-Reply-To: <8B86B788-3B46-4879-ABDB-3AD04A7EC0CE@gmail.com> References: <8B86B788-3B46-4879-ABDB-3AD04A7EC0CE@gmail.com> Date: Thu, 04 Apr 2024 17:04:47 +0000 Message-ID: <87r0flt5xs.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: -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_H3=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.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-Migadu-Spam-Score: -7.91 X-Spam-Score: -7.91 X-Migadu-Queue-Id: F3C022020F X-Migadu-Scanner: mx12.migadu.com X-TUID: y5Fp5IsKS6r2 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. I do not see much problem adding such blocks, although I am not sure if we want them by default. 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. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at