-
Hi everyone! I'm a org-mode user, and after reading docs/manuals in So, I'd like to know what would be the better way to convert html/epub files to cleaner org mode files. Note: Default converter serves good purpose, I'm looking for some tips and other suggestions on this. I'd also like to know how others prefer to read docs/manuals or even a novel. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You should be able to use a filter to strip off the identifiers from the Header elements in the AST; then you won't get the targets. Save this as stripids.lua and use function Header(el)
el.identifier = ""
return el
end |
Beta Was this translation helpful? Give feedback.
You should be able to use a filter to strip off the identifiers from the Header elements in the AST; then you won't get the targets.
Save this as stripids.lua and use
--lua-filter stripids.lua
on the command line.