From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Anaya Subject: Re: [ANN] Markdown export back-end in contrib Date: Fri, 27 Jul 2012 15:20:17 -0400 Message-ID: References: <87pq7izswz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Suq5U-0006MO-3d for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 15:20:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Suq5Q-0000nt-PC for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 15:20:36 -0400 Received: from blu0-omc1-s38.blu0.hotmail.com ([65.55.116.49]:52947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Suq5Q-0000nh-M0 for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 15:20:32 -0400 In-Reply-To: (Luis Anaya's message of "Thu, 26 Jul 2012 08:25:42 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org Mode List Luis Anaya writes: >> You can use `org-md-export-as-markdown' and `org-md-export-to-markdown' >> functions to test it. Well, it works... but hashes are being problematic. They append an initial \ at some of the levels. I went through the code and I saw that this is being handled through a regular expression substitution, however for some reasons this initial \ is escaping. (it may be a feature though). As an enhancement, you might want to provide an option to use setext convention to markdown headers in addition to the use of hashes. Just in case a given site is limited to that markdown style. For setext markdown #+BEGIN_EXAMPLE First Headers are marked like this ================================== Subsequent headers are marked like this --------------------------------------- #+END_EXAMPLE Luis -- Luis R. Anaya papo anaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo