chrome-extension-markdown-link

Creates a markdown link using a chrome extension that can be ported to Obsidian

Stars
0

Copy Link to Markdown Chrome Extension

This Chrome Extension, "Copy Link to Markdown", allows users to quickly copy the current webpage's title and URL in Markdown format, with an option for special formatting for certain domains like YouTube and Twitter. The extension is designed to increase productivity by simplifying the process of creating Markdown links for use in documentation, blogs, and other Markdown-supported platforms.

Features

  • Quick Copy: With just a click, copy the current webpage's title and URL in Markdown format to the clipboard.
  • Clean URLs: Automatically removes query parameters like utm codes to keep your Markdown links neat and clean.
  • Special Formatting: Adds an exclamation mark to the Markdown format for links from specified domains (e.g., YouTube, Twitter), indicating special content.
  • Customizable Hotkey: Trigger the extension's functionality with a customizable keyboard shortcut.
  • Settings Menu: Modify the output format and the keyboard shortcut directly from the extension's options page.

Installation

This extension is available for Chrome. You can install it from the Chrome Web Store (Link to your extension in the Chrome Web Store).

Alternatively, to install the extension manually:

  1. Clone this repository or download it as a ZIP file and extract it.
  2. Open Chrome and navigate to chrome://extensions/.
  3. Enable "Developer mode" at the top right.
  4. Click "Load unpacked" and select the directory where you extracted the extension files.
  5. The extension should now appear in your extensions list and be ready to use.

Usage

After installing the extension, navigate to any webpage and click on the extension's icon to copy the current page's title and URL in Markdown format to the clipboard. The Markdown link is immediately ready for pasting wherever you need it.

To customize the extension settings, including the output format and the keyboard shortcut, open the extension's options page from the Extensions menu.

Keyboard Shortcut

The default keyboard shortcut for copying the Markdown link is Alt+Shift+C. You can change this shortcut from the extension's settings menu or directly in the Chrome Extensions Shortcuts menu.

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or pull requests, please submit them to this repository.

Versioning

This document is for version 1.0 of the "Copy Link to Markdown" Chrome Extension.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Related Projects