1

When I export something with org mode to html, with it comes a load of presets such as id, labels, classes, preambles and post ambles.

For example:

<div id="outline-container-org16cf335" class="outline-2">

I would like to remove all of this or to at least be able to edit its patterns. I know I can set it to use the :CUSTOM-ID: property instead of the normal cacophony of spontaneously generated ids, but what I would really like is to either remove this automatic id setting or to edit the pattern used by it, but I couldn't manage to find this information yet.

edit:

I have found the ox-slimhtml package which greatly satisfies this need.

1 Answer 1

1

This solved my problem:

http://bald.cat/slimhtml

I hope this can also be of use to others. It allows one to define classes and ids etc while still in the org buffer.

1
  • If this solved your question, you should accept the answer.
    – SaMeji
    Commented Apr 28, 2020 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.