2

Using org-org-export-to-org:

#+ATTR_HTML: :style max-width:60%;
[[file:data/fool_f7dc.png]]

Is exported as:

[[file:data/fool_f7dc.png]]

Is there a way to keep the line #+ATTR_HTML: :style max-width:60%;?

Thx!

Edit:

Tried suggestion solution:

#+begin_export org
#+ATTR_HTML: :style max-width:60%;
[[file:data/fool_f7dc.png]]
#+end_export

But does not work since org-org-export-to-org returns:

#+BEGIN_export
[[file:data/fool_f7dc.png]]
#+END_export

2 Answers 2

1

An export block would be an option:

#+begin_export org
#+ATTR_HTML: :style max-width:60%;
[[file:data/fool_f7dc.png]]
#+end_export
0
0

Did not find out... does not matter anymore. Found a way out: https://github.com/phfrohring/org-to-blog/blob/master/org_to_blog.el

Your Answer

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

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