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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.