emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* relative links in html export
@ 2012-03-26 22:53 Matt Price
  2012-03-27  6:08 ` Ian Barton
  2012-03-27 20:14 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Price @ 2012-03-26 22:53 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

Hi,

I want to include a link like this in a document intended only for html
output:
[[/][Front Page]]
I've also tried

[[http:/][Front Page]]

Neither produces the result I want, which is <a href="/">Front Page</a>

Is there any way to get the latter result?
Thanks,
matt

[-- Attachment #2: Type: text/html, Size: 357 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: relative links in html export
  2012-03-26 22:53 relative links in html export Matt Price
@ 2012-03-27  6:08 ` Ian Barton
  2012-03-27 20:14 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Ian Barton @ 2012-03-27  6:08 UTC (permalink / raw)
  To: emacs-orgmode

On 26/03/12 23:53, Matt Price wrote:
> Hi,
>
> I want to include a link like this in a document intended only for html
> output:
> [[/][Front Page]]
> I've also tried
>
> [[http:/][Front Page]]
>
> Neither produces the result I want, which is <a href="/">Front Page</a>
>
> Is there any way to get the latter result?
> Thanks,
> matt
>
>
>

#+BEGIN_HTML
<a href="/">Front Page</a>
#+END_HTML


However, they may be other ways of doing it.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: relative links in html export
  2012-03-26 22:53 relative links in html export Matt Price
  2012-03-27  6:08 ` Ian Barton
@ 2012-03-27 20:14 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2012-03-27 20:14 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Hi Matt,

relative links are not recognized as links because they don't 
have a protocol (like "http" for accepted links.)

Matt Price <moptop99@gmail.com> writes:

> Neither produces the result I want, which is <a href="/">Front Page</a>
>
> Is there any way to get the latter result?

@<a href="/">Front Page@</a>

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-27 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 22:53 relative links in html export Matt Price
2012-03-27  6:08 ` Ian Barton
2012-03-27 20:14 ` Bastien

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).