Link to a section on another md file

johseb's Avatar


15 Jun, 2020 01:22 PM

I can link to a md file and have it open in Marked using the usual link syntax

[go to file](/path/to/my/

Now, given that I have a header in the destination file having id test, is it possible to link to that section (so that Marked scroll to the section when clicking the link in my source document)?

I tried the following syntax to no avail

[go to file](/path/to/my/

  1. Support Staff 1 Posted by Brett on 15 Jun, 2020 02:57 PM

    Brett's Avatar

    Sorry, Marked isn't functioning as a web browser in this case. It's
    opening a whole new document using just the filename, any fragment gets
    lost in the process.


  2. 2 Posted by johseb on 15 Jun, 2020 03:20 PM

    johseb's Avatar

    Thanks Brett, understood.
    I hope you'll evaluate my request for a future update of your great app.

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


? 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