From: Nicolas Goaziou <n.goaziou@gmail.com>
To: cberry@tajo.ucsd.edu
Cc: emacs-orgmode@gnu.org
Subject: Re: org-md fixed-width filter problems
Date: Mon, 28 Jan 2013 18:49:28 +0100 [thread overview]
Message-ID: <87fw1l9p07.fsf@gmail.com> (raw)
In-Reply-To: <87y5fdjk7o.fsf@tajo.ucsd.edu> (cberry@tajo.ucsd.edu's message of "Mon, 28 Jan 2013 09:22:51 -0800")
Hello,
cberry@tajo.ucsd.edu writes:
> cberry@tajo.ucsd.edu writes:
>
>> The :translate-alist for the md backend has no entry for fixed-width,
>> so it defaults to the parent org-e-html-fixed-width which uses
>>
>> (format "<pre class=\"example\">\n%s</pre>" ...
>>
>> So elements
>>
>> ,----
>> | : like
>> | : this
>> `----
>>
>> get the html style markup.
>>
>> Some of the markdown processors I use don't like this. pandoc ignores
>> the element entirely. The github blob generator copies it as verbatim.
>>
>> I have been using (fixed-width . org-md-verbatim) instead, but I think
>> this is still not quite right. (IIUC, proper markdown uses four spaces
>> at bol for such elements while org-md-verbatim uses surrounding backtics.)
>>
>> ?
>
> I see now that org-md-example-block formats with the leading spaces.
>
> So I guess my question should have been
>
> 'should (fixed-width . org-md-example-block) be used?'
Indeed. I have fixed it. Thanks for the suggestion.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2013-01-28 17:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-28 17:03 org-md fixed-width filter problems cberry
2013-01-28 17:22 ` cberry
2013-01-28 17:49 ` Nicolas Goaziou [this message]
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=87fw1l9p07.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=cberry@tajo.ucsd.edu \
--cc=emacs-orgmode@gnu.org \
/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).