From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Samuel Banya" Newsgroups: gmane.emacs.help Subject: Re: Questions Regarding Exports For 'pre' Tag In HTML Exports Date: Sat, 19 Mar 2022 18:49:15 -0400 Message-ID: References: <87h77uzr6a.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-4907-g25ce6f34a9-fm-20220311.001-g25ce6f34 To: "Emanuel Berg" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 19 23:50:42 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nVhuD-0005xd-Up for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Mar 2022 23:50:41 +0100 Original-Received: from localhost ([::1]:46564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVhuC-00083d-9g for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Mar 2022 18:50:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVhtD-00083R-SN for help-gnu-emacs@gnu.org; Sat, 19 Mar 2022 18:49:39 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVhtB-0001xu-6I for help-gnu-emacs@gnu.org; Sat, 19 Mar 2022 18:49:39 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7ED6A5C014B for ; Sat, 19 Mar 2022 18:49:36 -0400 (EDT) Original-Received: from imap50 ([10.202.2.100]) by compute2.internal (MEProxy); Sat, 19 Mar 2022 18:49:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=KDBvToCceVXgqv5xMYnUB0KXRCI6yLGVXZD5hf jLTvk=; b=OXhniawI+Gq8EKPOIRpXTv8/oCvaMMkCW41BvEGgl0ErBODsL+5xgf NyusCWWM+lfSP9TPtzfbX/qRePgltIAPcvkTGp3HNRZxbjEvLjyr86HqxqwdosFL 7SlepoRFiuw1LdHBIcvLomHfldhV5FHTjO9+68mCvW11UDpqKGRnSb58JxMcxW+y njCb1ZuA8ri1yjVxuGbUiHFNSBTQ70FRjMAElFZ/iAjIvQ1iU9JPbCd5jIhgPJDS zLns4LOg9hmbzViQB1zeK+81Y4bVI5lE3fMhCv9DTgB9tdxqjP5UAIlNg1hgDdzH iZgzVNhHL9RKHj0odKMaGGFNtvC+4s3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=KDBvToCceVXgqv5xM YnUB0KXRCI6yLGVXZD5hfjLTvk=; b=TDKSO1uYY7/bsqmj+KpBh6oHy4jXuOAAR CySjy40ZPE/v33OGBJxGE+k6m8kWwxb5jGvt9ZlXe5L9JLoOrm1WMFQdvhC7CsUG nNhRg9lF6dSnF0H/w0J1LPcw2t32Szjr6rxVM4Ldw6i/Q+tnxFPSmkLjDqmGYLx+ W8UMOYGCkuKe6n7jf2EOIENQJfGiFxG9VF4lB9IW2Mxn5LqgEhkgBm+AizTTpF1Q a/ruuAy6JDC+MZUFeswhPi9BwW44JusPs+TAWB5h3pnHFjxgiUsg0Uw7/1FY1QCG 5qL7rxd5AfXPX0peoDEtR59o5FexfVbpCHAWXBNENrkTznW9pkqJg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefledgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerredtnecuhfhrohhmpedfufgrmhhuvghluceurghnhigrfdcuoehssggrnhihrges fhgrshhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeegveffleetueeflefgvd eileeghedthfdtgfeiheeiheelffduudfguddutdehkeenucffohhmrghinhepuggrthgr shifrghmphdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehssggrnhihrgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3A399192A40D; Sat, 19 Mar 2022 18:49:36 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <87h77uzr6a.fsf@zoho.eu> Received-SPF: pass client-ip=66.111.4.26; envelope-from=sbanya@fastmail.com; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136682 Archived-At: Hey, Just as an update on this, the only thing that worked was to wrap it in a source block with 'pre' formatting, and to nuke the default formatting: #+OPTIONS: html-style:nil #+begin_src pre __ ___ _ __ _ / |/ /_ _______(_)___ ___ ____ _/ /_(_)____ _ ____ ______ / /|_/ / / / / ___/ / __ `__ \/ __ `/ __/ / ___/ | |/_/ / / /_ / / / / / /_/ (__ ) / / / / / / /_/ / /_/ / /___ _> Samuel Banya wrote: > > > I have a question regarding exporting an HTML block to > > a live website. > > > > I basically am just trying to do some cool ASCII for my site > > using pre-generated ASCII that I've copied and pasted into > > a source block. > > For ASCII:
> 
> For code: 
> 
> > Here's what I have in the block:
> >
> > #+begin_src html
> >                   _                 _   _                      
> >   /\/\  _   _ ___(_)_ __ ___   __ _| |_(_) ___  __  ___   _ ____
> >  /    \| | | / __| | '_ ` _ \ / _` | __| |/ __| \ \/ | | | |_  /
> > / /\/\ | |_| \__ | | | | | | | (_| | |_| | (__ _ >  <| |_| |/ /
> > \/    \/\__,_|___|_|_| |_| |_|\__,_|\__|_|\___(_/_/\_\\__, /___|
> >                                                       |___/    
> > #+end_src
> 
> Why? That isn't HTML even ...
> 
> -- 
> underground experts united
> https://dataswamp.org/~incal
> 
> 
>