Skip to content

doosik71/markdownlink

Repository files navigation

Markdown Link

Version VS Code

Description

Markdown Link is a Visual Studio Code extension that converts the selected text into a Markdown link. The link's file name is generated by replacing spaces and special characters with underscores and reducing multiple consecutive underscores to a single underscore.

Features

  • Converts selected text to a Markdown link.
  • File name rules:
    • Spaces and special characters are replaced with underscores.
    • Multiple consecutive underscores are reduced to a single underscore.

Usage

  1. Select the text you want to convert to a Markdown link.
  2. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
  3. Run the command Convert to Markdown Link.
  4. The selected text will be replaced with a Markdown link.

Installation

  1. Download the .vsix file from the Releases page.
  2. Open Visual Studio Code.
  3. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
  4. Select Extensions: Install from VSIX....
  5. Select the downloaded .vsix file.

Development

To set up the extension for development:

  1. Clone the repository.

  2. Navigate to the project directory.

  3. Install dependencies:

    npm install
  4. Compile the TypeScript code:

    npm run compile
  5. Open the project in Visual Studio Code.

  6. Press F5 to start the extension in a new VS Code window.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published