Skip to content

Good way to convert manuals/docs into org mode files #10076

Answered by jgm
idlip asked this question in Q&A
Discussion options

You must be logged in to vote

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.

function Header(el)
  el.identifier = ""
  return el
end

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@idlip
Comment options

Answer selected by idlip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants