Hide the Title of the note from a heading link
Currently
- [[Note1#Heading 1]] is being displayed as Note1>Heading 1
What i want
- [[Note1#Heading 1]] as Heading1
Current work around
- [[Note1#Heading1|Heading1]] is being displayed as Heading 1
- Using regex expression in Notepad++ or using Sed commands in linux
- Notepad++
- Find: (#)(.+)(]])
- Replace: \1\2|\2\3
- Notepad++
Problem with current solution
- but the above soulution need us to use “| parameter” syntax which is sometimes cumbersome to use and track
- In editor mode, link becomes too long and takes too much space on screen
A CSS based solution
- Kindly replay whether there a solution using CSS
- Hide or Truncate - Internal Heading Url - Similar to this CSS hack