Links inside headings

matus's Avatar

matus

27 Feb, 2015 09:29 AM

When there is a link to file with relative path inside a heading or subheading, Marked2 says "Missing file" when I click on it (the same link outside of the heading works).

Also when there is a link with a web url inside a heading, just clicking on it doesn't open it. I need to click and hold and choose "Open in Safari" from the context menu.

I am using the non-app store version of Marked2.

  1. Support Staff 1 Posted by Brett on 02 Mar, 2015 03:16 PM

    Brett's Avatar

    This is happening because of the "headlines collapse sections" option
    under Preview settings. If you're not using this option, disabling that
    feature should fix the issue. If you are, it runs into a situation where
    it has to decide what the first action for a click should be.

    If an entire headline is linked and it prioritized the link click over
    the headline click, it would result in that section be uncollapsible.
    I'm not certain at this point how I would handle that. If the "require
    command to collapse" option was also enabled, I could certainly prefer
    the link click _unless_ command were held, but it would get sticky if
    that option weren't enabled...

    -Brett

  2. 2 Posted by Matus on 02 Mar, 2015 03:30 PM

    Matus's Avatar

    Thanks for the tip!

    Personally, I would say that a link should have a higher priority than collapsing a section and giving up the option to collapse headings without holding command would be fine for me. But I might be biased by my usage of marked.

  3. 3 Posted by Keith Rollin on 22 Dec, 2015 06:18 PM

    Keith Rollin's Avatar

    I just ran across this issue, too. I enabled "Headlines collapse sections" and "Require cmd-click", and expected that my section headers -- which were links -- would work as links. As they are right now, the links don't do anything, and I'm not sure what the advantage of that is.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac