Skip to content

Commit

Permalink
tweaked plugin xml
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerbrandl committed Jun 25, 2016
1 parent a3a98e1 commit 46e673d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Paste Image To Markdown

Use the plugin browser in Intellij to download the plugin.

It works best as extension to the [official Markdown support](https://plugins.jetbrains.com/plugin/7793) extension provided by Jetbrains.

## Usage

1) Copy an image to your clipboard. E.g by right-click + copy in your favorite browser or by doing `Command-Control-Shift-4` on a mac or `PrtScn` on [windows10](http://www.howtogeek.com/226280/how-to-take-screenshots-in-windows-10/)
Expand Down
16 changes: 5 additions & 11 deletions resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<idea-plugin version="2">
<id>com.your.company.unique.plugin.id</id>
<name>Image to Markdown</name>
<id>com.github.holgerbrandl.pasteimages/</id>
<name>Paste Images into Markdown</name>
<version>1.0</version>
<vendor email="[email protected]" url="https://github.com/holgerbrandl/"></vendor>
<vendor email="[email protected]" url="https://github.com/holgerbrandl/pasteimages"/>

<description><![CDATA[
Paste images into Markdown Documents directly from clipboard<br>
Paste images into MarkDown documents directly from clipboard<br>
Images files are deposited in a configurable directory relative to the markdown document.
]]></description>

Expand All @@ -17,19 +17,13 @@
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
<idea-version since-build="141.0"/>

<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
on how to target different products -->
<!-- uncomment to enable plugin in all products
<depends>com.intellij.modules.lang</depends>
-->

<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
</extensions>

<actions>
<action id="paste_image" class="img2md.PasteImageFromClipboard" text="Paste Image into Markdown"
description="Paste an image from clipboard into current cursor position">
description="Paste an image from clipboard at the current cursor position">
<add-to-group group-id="EditMenu" anchor="last"/>
<keyboard-shortcut keymap="$default" first-keystroke="shift meta V"/>
</action>
Expand Down

0 comments on commit 46e673d

Please sign in to comment.