copy-as-markdown icon indicating copy to clipboard operation
copy-as-markdown copied to clipboard

RFE - if possible, provide some type of regex filtering to mask out certain parts of the page titles

Open geolaw opened this issue 11 months ago • 2 comments

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

geolaw avatar Mar 07 '24 17:03 geolaw

Related to https://github.com/yorkxin/copy-as-markdown/issues/52

yorkxin avatar Aug 29 '24 02:08 yorkxin

+1 this would be great!

jamesmengo avatar Oct 11 '24 17:10 jamesmengo