From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: Please help with a filter Date: Wed, 3 Sep 2014 02:55:49 +0000 (UTC) Message-ID: References: <87oauxetsm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP0jz-0006MH-JT for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 22:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP0jr-0008TD-TW for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 22:56:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:40103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP0jr-0008T2-NP for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 22:56:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XP0jp-0000UP-F0 for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 04:56:01 +0200 Received: from 172-7-166-26.lightspeed.sndgca.sbcglobal.net ([172.7.166.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2014 04:56:01 +0200 Received: from ccberry by 172-7-166-26.lightspeed.sndgca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2014 04:56:01 +0200 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: emacs-orgmode@gnu.org Rafael gmail.com> writes: > > > I want that the result of exporting to markdown the following two blocks > be identical: Rafael, You probably want a derived backend taking 'md as the parent. You want to tool up a src-block transcoder. Look at org-html-src-block (which is what markdown uses) and create org-md-sage-src-block (say) based on that. The :language property in `info' - the communication channel - is a human language not a computer language. Confusingly, babel has an `info' variable that has different contents. Filters might be made to work, but it seems like more work than a derived backend. HTH, Chuck