Skip to content

Repository files navigation

MarkEdit-enhanced-paste

Enhance MarkEdit with additional paste features, such as handling copied images, rich text (HTML), and URLs with automatically fetched titles.

Installation

Install this extension from the MarkEdit Extension Registry.

You can also run yarn install && yarn build to build and deploy the script.

Settings

In settings.json, you can define a settings node named extension.markeditEnhancedPaste to configure this extension, default settings are:

{
  "extension.markeditEnhancedPaste": {
    "enableImagePaste": true,
    "enableLinkTitleFetch": false,
    "enableMarkdownEscaping": false,
    "richPasteBehavior": "auto",
    "turndownOptions": {
      "headingStyle": "atx",
      "bulletListMarker": "-",
      "codeBlockStyle": "fenced",
      "emDelimiter": "*",
      "strongDelimiter": "**"
    },
    "pasteAsPlainTextHotKey": "Shift-Alt-Mod-v"
  }
}
  • enableImagePaste: Whether to handle image paste.
  • enableLinkTitleFetch: Whether to fetch the title of a pasted URL and create a Markdown link.
  • enableMarkdownEscaping: Whether to escape Markdown syntax found in rich text.
  • richPasteBehavior: The behavior when handling rich text. Valid values are auto, ask, and none.
  • turndownOptions: Options used by turndown, the service that converts HTML into Markdown.
  • pasteAsPlainTextHotKey: The hotkey to always paste plain text. See specs here.

About

Enhance paste functionality for MarkEdit.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages