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 ms0.migadu.com with LMTPS id 2KYfESnIDmIpLgEAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 23:11:53 +0100 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 IHKgDinIDmJPCAEA9RJhRA (envelope-from ) for ; Thu, 17 Feb 2022 23:11:53 +0100 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 AE7703FD4A for ; Thu, 17 Feb 2022 23:11:52 +0100 (CET) Received: from localhost ([::1]:60388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKp0B-0004Zz-1i for larch@yhetil.org; Thu, 17 Feb 2022 17:11:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKozF-0004Yv-Vj for emacs-orgmode@gnu.org; Thu, 17 Feb 2022 17:10:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]:58011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKoyz-0005d9-0A for emacs-orgmode@gnu.org; Thu, 17 Feb 2022 17:10:40 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A1736240026 for ; Thu, 17 Feb 2022 23:10:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1645135832; bh=27box3Sm80R0eAnqa9BfokYDu7M5ghJRXWbYt9z7ROQ=; h=From:To:Cc:Subject:Date:From; b=VZEtqiUlmNoplOfGlk8o126udMrprAW84PtuyRQmHDTxP5wlOpe3gUrmK3HjX0u+J njCxkM9nZvAB/Pom67eljZNfrPtFhby301Va8yzVlR5RxMTFJCGDh1UQMuY7qo2DEN ioWx38BUtF0BEr1gqFYKWML1XZqCYxc7CM//efvfpbkskIGk9QoNsFttJaAAzr58xg m+9GebEgw27DW/s2QNj1sKkLCVYGDdohIhBY1uExj6uiQteDvL1/JTWwxB7tzBezun yupenZWD1VLVfzzlTi2vNr4pIT6gdbRl3wAANPdDZH1pvo2HICyofW5fAvkyWZ+O8z Tuv7BKym6+hrQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4K08CW6wNBz6tmK; Thu, 17 Feb 2022 23:10:31 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: "Samuel Banya" Subject: Re: Question Regarding Creating HTML Style Buttons With Org Mode References: <086129c3-de30-4e0b-a0b7-6b1c9b0578b6@www.fastmail.com> Date: Thu, 17 Feb 2022 22:10:29 +0000 In-Reply-To: <086129c3-de30-4e0b-a0b7-6b1c9b0578b6@www.fastmail.com> (Samuel Banya's message of "Thu, 17 Feb 2022 09:56:17 -0500") Message-ID: <871r01i1pm.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@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, 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: , Cc: orgmode 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=1645135913; 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=D46bXT9NjX8f4W/DxziS2NP5esgbYl27yh/dSj62e64=; b=aZdnfiU1RXIfi052DaOfawBYkuum5ukxFclJSniOgXFGr+GY7UQV5WNLaVM8xVOYmPVf9f MJPuM7Q3G21HqTuibbD2TNYcwbssN2GIIqstB0InGIOXo39mjt8/IKbjWCfdiCPc8WG2+h nEH8Ek1zCCHW2PFhl0g4MWsS0GhV8/r4XJX9at9iYpZauh9APCBFehxjvP+4NFMSY9zXff OIiR8A/8QICKBxw+WA083dRq4cc3JZhkHOD+KciN+MI1IZGC+3OfAP638WW2JXXqdl6IQa 01oTXVQwBryK4Az5xK22kF1Lb+I/IMGlBmOv5KvUgkVd90M9O/9ndaKGxyWldg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645135913; a=rsa-sha256; cv=none; b=ZY67rBBH+CkzSRB2AePNScW/1cA4ueluvYLZIQ6Z2af7N3vZEpmbohqW25wyNADtozURQY kWUJMa2FLm3kpsknZ/oaYkN19i1udviWfRd81cCkjaJi1O5ZlWP5O+ButKOnLQFdmXgq0N KEPhkkIpjp2jyG/8b3mC+Oxa+gsbdhTJ9gALmIGGfgxyBQd102XRmz6tYd8y0VavbP7rhy ygKR4Cjoi/11T4yz55W7g5sN6Ej52l3ch6HdFvCa5yRJeAXv0hARsbjtXktS9UOKqqnoob Xtu11OUHEAu5jwTXmoqOD2IipDTXTm/wvQU6K4nkTSb/k0OlS4Yu6Jv+PLWDlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VZEtqiUl; 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: -9.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VZEtqiUl; 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: AE7703FD4A X-Spam-Score: -9.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3dxUqVenYvXt Hi Samuel: Samuel Banya writes: > Is it possible to create HTML style buttons using Org Mode itself? One possibility is to use a custom link. For example: #+begin_src emacs-lisp (org-link-set-parameters "button" :face '(:foreground "green" :underline t) :export (lambda (path desc backend) (when (eq backend 'html) (format "
" path desc)))) #+end_src #+HTML_HEAD: [[button:some target][This is a button]] NB: I have borrowed the style from here: https://www.w3schools.com/csS/css3_buttons.asp Best regards, Juan Manuel