Keep links to headers in the same file when 'automatically update internal links' is set to on

When “automatically update internal links” is set to true, links to a section within the same file using the method [[#section 1]] would be renamed.

For example, for specifics, see [[#Specifics]] would result in “for specifics, see Specifics”, but when I rename the file or move it to another folder, it would automatically rename the link to [[filename#Specifics]], resulting in filename > Specifics in the preview, which is not what I want. It gets irritating when moving multiple files with many links to headers within the same file.

The following is more of a bug, but when using the [section 1](<#section 1>) method, the link would break upon file path change, as the content within the parentheses is changed incompletely.

1 Like