Le 14/09/15 à 02h10, "Charles C. Berry" <ccbe...@ucsd.edu> a écrit :

> On Sun, 13 Sep 2015, Nicolas Goaziou wrote:
>
>>
>>
>> Denis Bitouzé <dbitouze-39zsbgiqgt5gwvitb5q...@public.gmane.org> writes:
>>
> [...]
>
>> Markdown export back-end use :html conventions to translate entities.
>> For some reason, HTML prefers &vert; over |, and so does markdown.
>>
>> There are a few options available:
>>
>>  1. Prefer | over &vert; in HTML
>>  2. Overwrite "vert" entity with a new one that would do 1. So
>>     basically, this is 1 but on your machine only.
>>  3. Use a new entity that becomes | when used in HTML export.
>>
>
> If this creates a backend derived from 'md (and does not modify ox-md.el),
> then fine. But, ...
>
> It seem like there are flavors of Markdown that use verticals for varying
> purposes.

Sigh... :)

> For example, rmarkdown
>
>       http://rmarkdown.rstudio.com/authoring_pandoc_markdown.html
>
> uses them as `line block' markers and to construct `table.el' style tables.
>
> And I have seen verticals used to set off citations elsewhere.

Sigh... again :)

> And I am not even sure what Denis meant by using them to `interpret
> strings'.

As said, I'm only a very occasional markdown user, mainly on github and
SE (flavors).

In my current usecase (on a OSQA site), e.g. |REP_GAIN_BY_UPVOTED|
entered as markdown displays the value of REP_GAIN_BY_UPVOTED (some
internal site variable) when rendered as HTML.

Anyway, as pointed out in my answer to Nicolas, it may be useful to
other org mode users to be able to obtain "real" pipe symbol in markdown
export. Hence, a new entity that becomes | when used in md export could
be nice...

Best.
-- 
Denis


Reply via email to