I have an org-mode file with a bunch of tables. In one tree I would like all the tables to have some specific HTML export attributes, but not in others. Is there a way I can do this without having to copy "#+ATTR_HTML: blah" to every table I want to affect?

  • Maybe variable ` org-html-table-default-attributes`. See orgmode.org/manual/… – JeanPierre Apr 12 '17 at 14:55
  • Was looking at that, but how do I set the value of that variable just for one tree ? Failing that, how can I do that for just one file? Tried setting it as a file variable but that didn't seem to work. – Willy Lee Apr 12 '17 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.