Re: In an export transcoder, when should I use org-element-property to get values vs. the contents parameter

2022-09-02 Thread Ihor Radchenko
"Rohit Patnaik" writes: > My question is, why does org-md-verbatim use org-element-property to retrieve > the text to be transcoded, when org-md-bold and org-md-italic use the contents > parameter. In other words, couldn't the function be simplified to something > like > this: You can't because

In an export transcoder, when should I use org-element-property to get values vs. the contents parameter

2022-09-02 Thread Rohit Patnaik
I'm looking at function that handles transcoding inline code and verbatim text in ox-md: (defun org-md-verbatim (verbatim _contents _info) "Transcode VERBATIM object into Markdown format. CONTENTS is nil. INFO is a plist used as a communication channel." (let ((value (org-element-property :v