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