You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, if the cite key contains unsafe characters for a path, the displayed title for the Markdown link has those characters replaced with _. This is not necessary and obscures the actual cite key. Details below.
The function getTitleForCitekey creates a title for the literature note, in part by replacing unsafe characters in the cite key:
This is correct for Wiki style links, which must use the path name, but this is not necessary for Markdown links, which could use the actual cite key as the displayed title while still using the safe title for the path name.
The text was updated successfully, but these errors were encountered:
goi42
added a commit
to goi42/obsidian-citation-plugin
that referenced
this issue
Aug 28, 2024
Right now, if the cite key contains unsafe characters for a path, the displayed title for the Markdown link has those characters replaced with
_
. This is not necessary and obscures the actual cite key. Details below.The function
getTitleForCitekey
creates a title for the literature note, in part by replacing unsafe characters in the cite key:obsidian-citation-plugin/src/main.ts
Lines 306 to 311 in 2edeece
The function
insertLiteratureNoteLink
uses this title to create the link to the note:obsidian-citation-plugin/src/main.ts
Lines 383 to 393 in 2edeece
This is correct for Wiki style links, which must use the path name, but this is not necessary for Markdown links, which could use the actual cite key as the displayed title while still using the safe title for the path name.
The text was updated successfully, but these errors were encountered: