emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <c.buhtz@posteo.jp>
To: Emacs-orgmode@gnu.org
Subject: Intention of verbatim text?
Date: Tue,  3 Jan 2023 13:20:05 +0000	[thread overview]
Message-ID: <4NmYHp2V9Nz6tmJ@submission01.posteo.de> (raw)

Hi,

in org you can have inline verbatim and code text elements like this.

    Example with =verbatim= and ~code~.

I would like to understand what "verbatim" really means. What is the
semantic behind it? What content should go in there?


I'm aware of the separation of content and its presentation.
I'm also aware of the different renderings in my Emacs. Booth are
monotype but with different colors.

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.

I wonder that maybe I totally misunderstand the intention of
"verbatim"?

The background of my question is that I have my own
org-to-html-converter [1] and try to decide how to treat =verbatim=.
Which HTML tag should I use.

Thanks
Christian

[1] -- <https://codeberg.org/buhtz/hyperorg>


             reply	other threads:[~2023-01-03 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03 13:20 c.buhtz [this message]
2023-01-03 17:32 ` Intention of verbatim text? Daniel Fleischer
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=4NmYHp2V9Nz6tmJ@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).