emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Rick Frankel <rick@rickster.com>, emacs-orgmode@gnu.org
Subject: Re: [bug] [new exporter] [markdown] Underline exports as HTML
Date: Wed, 13 Mar 2013 16:43:39 +0100	[thread overview]
Message-ID: <87a9q7nw44.fsf@bzg.ath.cx> (raw)
In-Reply-To: <871ubjfhxb.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 13 Mar 2013 16:17:20 +0100")

Hi Nicolas,

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> AFAIU, one Markdown feature is to accept raw HTML as part of the syntax.
> So, what's wrong in writing in HTML code anything that is not directly
> supported by Markdown syntax (like tables)?

Nothing wrong /per se/ but, I modified `org-html-underline' so that it
uses a specific class "underline" instead of hardcoding the style.

(There is no style="..." parameter left in the HTML export.)

<span class="underline">text</span> does not mean anything for
Markdown.

We could have org-md-underline to export to <u>text</u> but this tag
is deprecated in xhtml and html5.

As for using <span style="text-decoration: underline;">text</span> 
I think it goes against Markdown's philosophy to keep things light.

So on the overall, I find using `org-md-verbatim' a quite good
trade-off.

-- 
 Bastien

  reply	other threads:[~2013-03-13 15:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 22:47 [bug] [new exporter] [markdown] Underline exports as HTML T.F. Torrey
2013-03-11 23:06 ` Bastien
2013-03-12  0:42   ` Rick Frankel
2013-03-12  7:44     ` Bastien
2013-03-13 15:17       ` Nicolas Goaziou
2013-03-13 15:43         ` Bastien [this message]
2013-03-13 15:54         ` Eric Schulte
2013-03-15 12:19           ` Rick Frankel
2013-03-15 17:36             ` Nicolas Goaziou
2013-03-15 18:00               ` Rick Frankel
2013-03-15 20:58                 ` Bastien
2013-03-16 19:27                   ` Rick Frankel

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=87a9q7nw44.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=rick@rickster.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).