emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] [new exporter] [markdown] Underline exports as HTML


From: Bastien
Subject: Re: [O] [bug] [new exporter] [markdown] Underline exports as HTML
Date: Wed, 13 Mar 2013 16:43:39 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Nicolas,

Nicolas Goaziou <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]