emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <c.buhtz@posteo.jp>
To: emacs-orgmode@gnu.org
Subject: Re: Intention of verbatim text?
Date: Wed,  4 Jan 2023 07:50:11 +0000	[thread overview]
Message-ID: <4Nn1wp0bLsz6tnY@submission01.posteo.de> (raw)
In-Reply-To: <86ilhnbd6t.fsf@gmail.com>

Thanks for all your feedback.

On 2023-01-04 05:58 Tim Cross <theophilusx@gmail.com> wrote:
> argue that =text= should be rendered as <pre>text</pre>

I did this before but then got them as paragraphs. Not sure how the
correct term of this is in HTML. pre is not inline but handled as an
own paragraph so that you have an extra line in the rendered HTML
output.

> markers/information for =textg=, so wrapping it in a semantic tag
> like <code> is IMO incorrect as we are imposing a semantic
> interpretation without justification.

I also agree that the current org html export is not specific enough
here.

My current solution is to convert ~code~ to <code>code</code> and
=verbatim= to <code class="verbatim">verbatim</code>.

In that case the user can decide himself how to render them. In my
default CSS I would render the ~code~ in monospace with a light gray
background (different from the whole page background) and =verbatim=
with monospace only but without extra background color.

Kind
Christian


  reply	other threads:[~2023-01-04  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03 13:20 Intention of verbatim text? c.buhtz
2023-01-03 17:32 ` Daniel Fleischer
2023-01-03 18:58 ` Tim Cross
2023-01-04  7:50   ` c.buhtz [this message]
2023-01-04  8:25     ` Tim Cross

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=4Nn1wp0bLsz6tnY@submission01.posteo.de \
    --to=c.buhtz@posteo.jp \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).