From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Exporting blocks of text completely verbatim Date: Thu, 9 Feb 2017 11:19:36 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbuFr-000327-U1 for emacs-orgmode@gnu.org; Thu, 09 Feb 2017 14:19:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbuFo-0006Gu-QA for emacs-orgmode@gnu.org; Thu, 09 Feb 2017 14:19:43 -0500 Received: from iport-acv3-out.ucsd.edu ([132.239.0.4]:43500) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbuFo-0006GE-Cn for emacs-orgmode@gnu.org; Thu, 09 Feb 2017 14:19:40 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Vicente Vera Cc: emacs-orgmode On Thu, 9 Feb 2017, Vicente Vera wrote: > Hello. This discussion > https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00163.html > points out that Org tables are converted to HTML tables when exporting > through "ox-md". Leaving Markdown-related issues aside, I've stumbled > upon this problem a while back. > > It is suggested that wrapping the table within a "#+(BEGIN|END)_EXPORT > md" should leave it as-is in the exported document but that is not the > case. The table gets converted to HTML anyway. > Not in recent versions of org. Here is an example of a table that is exported as a table without any html-ization: #+BEGIN_SRC emacs-lisp :results raw (org-export-string-as " ,#+begin_export md | a | | b | ,#+end_export" 'md t) #+END_SRC #+RESULTS: | a | | b | Of course, the comma escapes are stripped before `org-export-string-as' sees the string. HTH, Chuck