Skip to main content
added 132 characters in body
Source Link

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.

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.

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.

Source Link

Org mode HTML export presets

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.