Register

Journal Anchor Links

An Add-on Module for Foundry Virtual Tabletop

Author: aMediocreDev Project Source: Project URL Versions 10 - 11 (Verified 11) Last Updated 6 months, 2 weeks ago

Journal Anchor Links

A library module for Foundry VTT that provides Journals with long desired page anchor links, similar to how it is supported in HTML.

Example

https://user-images.githubusercontent.com/9851733/128767150-79f967f7-39a3-453f-8dbb-60b910080418.mp4

How-To

Implementing this library in your module/system is easy:

  1. Add it as a dependency in your manifest file (module.json or system.json).
    • Alternatively you can download the files and use the lib.js in your module.

  2. The module initiates itself if added as a dependency, else you will need to make sure you declare lib.js under the script property of your manifest file (see Foundry's description of a manifest if uncertain).
  3. When writing journal entries use the Headings in the TextEditor's Rich Editor. Heading 1 through 6 are supported (or <h1>..<h6> if you prefer).
  4. To begin linking, you write the link syntax like normal (@JournalEntry[My Journal Entry | SomeId123]), but you add a hash # after the title/id and then the heading you want to link to.
  5. Like so: @JournalEntry[My Cool Journal#Secrets].
  6. If done right, the resulting link should look like this: :icon:My Cool Journal: Secrets.

License

See LICENSE.txt

Author

@aMediocreDad

If you like what I do, consider keeping me awake at night!

Categories

Available Versions

  1. Version 4.2.2

    6 months, 2 weeks ago
    Foundry Version 10 - 11 (Verified 11) Manifest URL Read Notes
  2. Version 4.2.1

    1 year, 4 months ago
    Foundry Version 10 - 11 (Verified 11) Manifest URL Read Notes
  3. Version 4.2.0

    Foundry Version 10 - 11 (Verified 11.299) Manifest URL Read Notes
  4. Version 4.1.0

    Foundry Version 10 - 10 (Verified 10.288) Manifest URL Read Notes
  5. Version 4.0.0

    Foundry Version 10 - 10 (Verified 10.285) Manifest URL Read Notes
  6. Version 3.0.2

    Foundry Version 9 - 9 (Verified 9) Manifest URL Read Notes
  7. Version 2.0.0

    Foundry Version 9 - 9 (Verified 9) Manifest URL Read Notes
  8. Version 1.2.0

    Foundry Version 0.8.9 - 0.8.9 (Verified 0.8.9) Manifest URL Read Notes