all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Samuel Banya" <sbanya@fastmail.com>
To: "Emanuel Berg" <help-gnu-emacs@gnu.org>
Subject: Questions Regarding Exports For 'pre' Tag In HTML Exports
Date: Fri, 18 Mar 2022 20:52:58 -0400	[thread overview]
Message-ID: <ef61155c-b11b-4be6-aee9-18b6820c3456@www.fastmail.com> (raw)

Hey there,

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.

The problem is that the source block that is produced always has default formatting, which looks great if you run a code blog or something.

However in my scenario, I actually just want the text to appear without the block itself, or the upper right section that designates what type of 'pre' source block it became.

Is this possible?

I tried to overwrite it with CSS styling rules but that didn't seem to work either.

Here's what I have in the block:
#+begin_src html
                  _                 _   _                      
  /\/\  _   _ ___(_)_ __ ___   __ _| |_(_) ___  __  ___   _ ____
/    \| | | / __| | '_ ` _ \ / _` | __| |/ __| \ \/ | | | |_  /
/ /\/\ | |_| \__ | | | | | | | (_| | |_| | (__ _ >  <| |_| |/ /
\/    \/\__,_|___|_|_| |_| |_|\__,_|\__|_|\___(_/_/\_\\__, /___|
                                                      |___/    
#+end_src

End result is on my site:
https://musimatic.xyz/

Thanks, 

Sam


             reply	other threads:[~2022-03-19  0:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19  0:52 Samuel Banya [this message]
2022-03-19  1:06 ` Questions Regarding Exports For 'pre' Tag In HTML Exports Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-19 22:49   ` Samuel Banya
2022-03-19  5:26 ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef61155c-b11b-4be6-aee9-18b6820c3456@www.fastmail.com \
    --to=sbanya@fastmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.