copy-as-markdown
copy-as-markdown copied to clipboard
RFE - if possible, provide some type of regex filtering to mask out certain parts of the page titles
Summary
In firefox, if I go to a webpage, then use the md plugin to copy "Current tab link", the resulting md link contains the site name e.g.
https://stackoverflow.com/questions/13534306/how-can-i-set-the-grep-after-context-to-be-until-the-next-blank-line
linux - How can I set the grep after context to be "until the next blank line"? - Stack Overflow
It would be cool to be able to configure something within the plugin settings to be able to mask out certain site names so in the case of that stack over flow link - filter out ' - Stack Overflow' so that
This md link : linux - How can I set the grep after context to be "until the next blank line"? - Stack Overflow
Becomes this: linux - How can I set the grep after context to be "until the next blank line"?
Reproduction Steps
Expected Behavior
Actual Behavior
Reproducible Environment
- Browser (Version):
firefox 123.0
-
Operating System (Version): Fedora 39
-
System Language: en
-
Example Webpage (if applicable): https://stackoverflow.com/questions/13534306/how-can-i-set-the-grep-after-context-to-be-until-the-next-blank-line
Related to https://github.com/yorkxin/copy-as-markdown/issues/52
+1 this would be great!