sirselim / MTGCardFinder

MTG Card Markdown Toolkit - a VSCode extension to grab card image and information for markdown documents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MTG Card Markdown Toolkit

Overview

The MTG Card Markdown Toolkit extension for Visual Studio Code simplifies the process of working with Magic: The Gathering (MTG) card names in Markdown documents. It provides two main features:

  1. Convert Card Name: Allows users to select text containing MTG card names and convert them into Markdown links. This is particularly useful for quickly creating links to the Scryfall pages for specific cards.
  2. Convert Card Table: Enables users to select a list of Markdown-formatted card links and converts them into a table format with three columns. This is helpful for organizing and presenting multiple card links in a structured table within a Markdown document.

Key Features

  • Convert individual MTG card names to Markdown links.
  • Create a Markdown table from selected card names for better organization and presentation.

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
  3. Search for "Card Markdown Toolkit."
  4. Click the Install button.

Usage

  1. Open a document in Visual Studio Code.
  2. Select text containing MTG card names.
  3. Run the "Convert Card Name" command from the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
  4. Run the "Convert Card Table" command to create a table from selected card names.

Commands

  • Convert Card Name: Convert selected MTG card names to Markdown links.
  • Convert Card Table: Create a Markdown table from selected card names.

This extension streamlines the integration of MTG card information into Markdown documents, making it easier for users to reference and display Magic cards with proper formatting and organization.

About

MTG Card Markdown Toolkit - a VSCode extension to grab card image and information for markdown documents.


Languages

Language:JavaScript 62.1%Language:TypeScript 37.9%