emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Fleischer <danflscr@gmail.com>
To: <c.buhtz@posteo.jp>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Intention of verbatim text?
Date: Tue, 03 Jan 2023 19:32:09 +0200	[thread overview]
Message-ID: <m2v8ln5xt2.fsf@gmail.com> (raw)
In-Reply-To: <4NmYHp2V9Nz6tmJ@submission01.posteo.de> (c. buhtz's message of "Tue, 3 Jan 2023 13:20:05 +0000")

c.buhtz@posteo.jp [2023-01-03 Tue 13:20] wrote:

> in org you can have inline verbatim and code text elements like this.
>
>     Example with =verbatim= and ~code~.
>
> The org html export to create both with <code> tag. So in HTML output
> there is no difference between verbatim and code anymore.
>
> I also read a lot about the HTML tags code, pre, kbd and samp.
>
> The background of my question is that I have my own
> org-to-html-converter [1] and try to decide how to treat =verbatim=.

According to https://stackoverflow.com/questions/32284477 they have
different semantics but are rendered the same (by default); they could
be rendered differently, depending on a website's CSS. Maybe use the
semantics for your own org-html converter.

-- 
Daniel Fleischer


  reply	other threads:[~2023-01-03 17:33 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 [this message]
2023-01-03 18:58 ` Tim Cross
2023-01-04  7:50   ` c.buhtz
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=m2v8ln5xt2.fsf@gmail.com \
    --to=danflscr@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=c.buhtz@posteo.jp \
    /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).