Re: How to make dynamic file seperator(/,\) to make document linux and windows compatible?
Posted by
mojavelinux on
May 13, 2019; 5:14pm
URL: https://discuss.asciidoctor.org/How-to-make-dynamic-file-seperator-to-make-document-linux-and-windows-compatible-tp6911p6913.html
Simple solution. Windows understands both the \ and / separators, whereas Linux/Unix/macOS only understands / separators. Therefore, you should always use / separators and your toolchain will be portable across systems. There's no reason to be using \ separators anymore. They are antiquated.
Cheers,
-Dan
On Mon, May 13, 2019 at 7:19 AM documentationchronicles [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi there. I want to make my asciidoc documents Linux and Windows compatible. I need dynamic file separator for links, images, and videos so a web browser can find the location of the media file properly. What strategy should I watch to achieve that?
--