Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When publishing with orgmode, is it possible to add attributes to generated html tags, only on wanted elements.

For example, I would like to add some class value for tags without this attribute, or replace it (add a class value after the outline-text-2 one).

<div id="text-1" class="outline-text-2">
  <p>Another content</p>

I've searched for this issue into the documentation, but don't find relevant help. It is possible to generate inline style attributes, but it's not possible for me to use inline style :)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.