emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intention of verbatim text?


From: Daniel Fleischer
Subject: Re: Intention of verbatim text?
Date: Tue, 03 Jan 2023 19:32:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]