emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: [Markdown export] Relative pages considered as files if lin


From: Rasmus
Subject: Re: [O] Bug: [Markdown export] Relative pages considered as files if links' targets [8.3.1 (8.3.1-123-g823cad-elpa @ /home/bitouze/.emacs.d/elpa/org-20150914/)]
Date: Sun, 20 Sep 2015 17:52:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

address@hidden (Denis Bitouzé) writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>      http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Sometimes, you need to have links, the targets of which are relative
> pages of your site. Unfortunately, when exported to Markdown, these
> relative pages are considered as files:
>
> #+begin_src org
> - A [[/rootsite/somepage/][(relative) page]].
> - A [[/rootsite/somepage][(relative) page]].
> #+end_src
>
>
> is exported as:
>
> #+begin_src markdown
> -   A [(relative) page](file:///rootsite/somepage/).
> -   A [(relative) page](file:///rootsite/somepage).
> #+end_src
>
>
> whereas the expected behavior would be:
>
> #+begin_src markdown
> -   A [(relative) page](/rootsite/somepage/).
> -   A [(relative) page](/rootsite/somepage).
> #+end_src

What if you add a dot? 

#+begin_src org
- A [[./rootsite/somepage/][(relative) page]].
- A [[./rootsite/somepage][(relative) page]].
#+end_src

⇒

#+begin_src markdown
-   A [(relative) page](./rootsite/somepage/).
-   A [(relative) page](./rootsite/somepage).
#+end_src

Or is that a different link?

-- 
It was you, Jezebel, it was you




reply via email to

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