Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dmccan

    (@dmccan)

    Hi abelousov, I’m not sure what you mean. Could you please explain more? The shortcode you enter when creating the wiki article gets turned into a regular anchor link when the page is rendered / viewed.

    Thread Starter abelousov

    (@abelousov)

    To links with hash, like this:
    https://example.com/page#foo
    (for subheadings)

    Plugin Author dmccan

    (@dmccan)

    Hi abelousov,

    Thank you for the example. I understand now. As you have discovered, that is not possible using the current shortcodes. It seems like it might be useful for other people, so I will investigate about adding that functionality.

    It seems it would be relatively straightforward to add another input box on the wiki link popup where one could type the target (“#foo”), but I wonder about how would one create the target you wanted to jump to? Add another popup or option to create the target? Do you have suggestions or examples?

    Best regards,

    David

    Thread Starter abelousov

    (@abelousov)

    Hi David,

    For targets I manually add “id” attribute in text editor, like this:
    <h2 id="foo">Foo</h2>
    Maybe button with this functionality will be useful.

    Best regards,
    Alexander.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Anchor link’ is closed to new replies.