Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit d94a674

Browse files
authored
Merge pull request #716 from asmsuechan/change-note-link-content
Change ["title"](note-hash) to [the exact title](note-hash)
2 parents 260611f + 0123526 commit d94a674

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

browser/main/Detail/MarkdownNoteDetail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ class MarkdownNoteDetail extends React.Component {
349349
<InfoPanel
350350
storageName={currentOption.storage.name}
351351
folderName={currentOption.folder.name}
352-
noteLink={`[title](${location.query.key})`}
352+
noteLink={`[${note.title}](${location.query.key})`}
353353
updatedAt={formatDate(note.updatedAt)}
354354
createdAt={formatDate(note.createdAt)}
355355
/>

browser/main/Detail/SnippetNoteDetail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ class SnippetNoteDetail extends React.Component {
588588
<InfoPanel
589589
storageName={currentOption.storage.name}
590590
folderName={currentOption.folder.name}
591-
noteLink={`[title](${location.query.key})`}
591+
noteLink={`[${note.title}](${location.query.key})`}
592592
updatedAt={formatDate(note.updatedAt)}
593593
createdAt={formatDate(note.createdAt)}
594594
/>

0 commit comments

Comments
 (0)