mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 12:15:58 +03:00
[GH-ISSUE #160] [FEATURE] Advanced options to create links with title #157
Labels
No labels
bug
duplicate
enhancement
enhancement
enhancement
fixed
help wanted
help wanted
invalid
pull-request
question
waiting for input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pathcopycopy#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nmatt on GitHub (Nov 8, 2022).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/160
Originally assigned to: @clechasseur on GitHub.
Using a single custom command, I'd like to create links for systems like Jira or Confluence, where the link combines a URL and a title, both based on the original path. For example, the URL would be the transformed path, while the title would be the original path.
Example: For the path
the result of the custom command would be:
In other words,
[<original path>|<transformed path>].A variation of this would have the title also being a transformed path, but differently transformed from the URL.
In general, what this feature requires is the ability to perform separate transformations of the same original path and then combine those separate transformations into a single string, Unless I'm missing something, this is presently not possible even in Expert Mode.
The current workaround is to use multiple (custom) commands and manually combine their results in a text editor.
@clechasseur commented on GitHub (Nov 9, 2022):
It's presently possible to do this with some clever use of the stack elements, although I admit this feature is very technical and non-intuitive. Here's an example:
WikiLink.zip