emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Luis Anaya <papoanaya@hotmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [ANN] Markdown export back-end in contrib
Date: Fri, 27 Jul 2012 15:20:17 -0400	[thread overview]
Message-ID: <BLU0-SMTP275569D213F1D795434DCFDB7C10@phx.gbl> (raw)
In-Reply-To: <BLU0-SMTP207489701759FFDBDD6B749B7C20@phx.gbl> (Luis Anaya's message of "Thu, 26 Jul 2012 08:25:42 -0400")

Luis Anaya <papoanaya@hotmail.com> 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

  reply	other threads:[~2012-07-27 19:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 11:02 [ANN] Markdown export back-end in contrib Nicolas Goaziou
2012-07-26 11:18 ` Eric Abrahamsen
2012-07-26 13:50   ` Nick Dokos
2012-07-26 12:25 ` Luis Anaya
2012-07-27 19:20   ` Luis Anaya [this message]
2012-07-27 21:07     ` Nicolas Goaziou
2012-07-28  9:48       ` Luis Anaya
2012-07-28  9:54         ` Nicolas Goaziou
2012-07-28  9:56         ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU0-SMTP275569D213F1D795434DCFDB7C10@phx.gbl \
    --to=papoanaya@hotmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).