Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

External Link

Newbie here. So, I searched the Twine2 code Wiki and found this for adding an external link: "External links

You may also add links to external sites. These links look like this:

http://www.duckduckgo.com/
http://www.duckduckgo.com/"

But, when I do this, I get a "no" sign when I test it; meaning it won't let me link to it. Uh, oh. Now what? Thanks in advance for any help.

Comments

  • Hi,

    if you are using Harlowe, this format will work:

    (link: "google")[(goto-url: "https://www.google.com";)]

    The most up to date manual for using Harlowe is here: https://twine2.neocities.org/
  • Forgive me, but I'm using Twine2. Do I need to use Harlowe?
  • @sensmann

    Twine 2.0.11 comes with three different Story Formats installed: Harlowe 1.2.2, Snowman 1.3.0, SugarCube 1.0.34. There are also third-party story formats like the SugarCube 2 series which you can manually install yourself.

    Each story format is responsible for defining the macro syntax it uses, it's default list of macros, and the features it supports. This is why we ask people to state which story format they are using when they ask a question, as answers can be different for each one.

    The markup link examples you included in your original post can be used in either series of SugarCube or within any of the story formats that come with Twine 1.4.2
  • Normally on Twine 2 Harlowe is pre-selected, so if you haven't changed anything, it is plausible that you are using Harlowe.
    The code you found, as @greyelf stated, is for Twine 1.4.2.

    To find out what story format you are using, you can open the story for editing in twine, click on the upwards triangle near the story name and go to "change story format". It will tell you what format you have selected and let you pick a different one.
  • Thank you, thank you, thank you!
Sign In or Register to comment.