From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [bug] [new exporter] [markdown] Underline exports as HTML Date: Wed, 13 Mar 2013 16:43:39 +0100 Message-ID: <87a9q7nw44.fsf@bzg.ath.cx> References: <87txohh7uj.fsf@lapcat.tftorrey.com> <877gldwn74.fsf@bzg.ath.cx> <20130312004205.GA74763@BigDog.local> <877glduknq.fsf@bzg.ath.cx> <871ubjfhxb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFnq9-0004gA-3A for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 11:43:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFnq7-0001PS-QR for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 11:43:41 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFnq7-0001PJ-Fn for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 11:43:39 -0400 Received: by mail-wi0-f172.google.com with SMTP id ez12so2901478wid.11 for ; Wed, 13 Mar 2013 08:43:38 -0700 (PDT) In-Reply-To: <871ubjfhxb.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 13 Mar 2013 16:17:20 +0100") 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: Rick Frankel , emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou 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.) text does not mean anything for Markdown. We could have org-md-underline to export to text but this tag is deprecated in xhtml and html5. As for using text 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