From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: org-export-string-as issue Date: Sat, 11 Mar 2017 13:53:12 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmm8k-0007lt-V2 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 13:53:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmm8h-0001ug-QH for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 13:53:19 -0500 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:36619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmm8h-0001td-M0 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 13:53:15 -0500 Received: by mail-qk0-x22c.google.com with SMTP id 1so199164761qkl.3 for ; Sat, 11 Mar 2017 10:53:15 -0800 (PST) Received: from Johns-MacBook-Air.local (c-67-171-67-30.hsd1.pa.comcast.net. [67.171.67.30]) by smtp.gmail.com with ESMTPSA id q66sm8807929qkd.69.2017.03.11.10.53.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 Mar 2017 10:53:13 -0800 (PST) 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: "emacs-orgmode@gnu.org" Hi, I am using code like this in a jupyter notebook exporter: #+BEGIN_SRC emacs-lisp (org-export-string-as "** second heading" 'md t '(:with-toc nil :with-tags nil)) #+END_SRC I would expect that to export as: ## second heading but what I get is: #+RESULTS: : : # second heading : Am I missing something that would keep the heading level correct? Or is this expected behavior? Thanks, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu