emacs-orgmode
[Top][All Lists]
Advanced

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

Re: smallcaps: Re: Experimental public branch for inline special blocks


From: Max Nikulin
Subject: Re: smallcaps: Re: Experimental public branch for inline special blocks
Date: Wed, 6 Mar 2024 17:55:24 +0700
User-agent: Mozilla Thunderbird

On 06/03/2024 00:28, Juan Manuel Macías wrote:
Max Nikulin escribió:
I think that the current implementation is very flexible and gives rise
to many possible variations, and the combination of direct formatting
and styles to suit the user.

OK, just consider it as my dissenting opinion. I believe that it should be possible for the same Org document

  #+options: inline-special-block-aliases:(("definition" :smallcaps t))

  &definition{Example} or &_[:smallcaps t]{ad-hoc}

to export it as

  <span style="font-variant:small-caps;">Example</span>
  or <span style="font-variant:small-caps;">ad-hoc</span>

or as

  <span class="definition">Example</span>
  or <span class="small-caps">ad-hoc</span>

by adjusting of global settings. The former one be suitable for a CMS that does not allow user CSS and the latter one is preferable for a site under full user control and having CSS

  .definition, .small-capps { font-variant: small-caps; }




reply via email to

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