Allow paste from clipboard to view content in Markdown
I use Markdown syntax frequently in documents, notes, inside applications, inside comment blocks in code, etc. I would love to be able to
- Highlight a block of Markdown-formatted text
- Copy to clipboard
- Paste into Markdown
- See the formatted block of text in the Markdown window
- Close the window - I don't need to save it.
EVEN BETTER - Markdown to expose a service, operating on text, that would take the contents of the selected text and render it in a Markdown window. I'd attach that to a keyboard shortcut and be in Markdown heaven...
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 04 Apr, 2016 11:07 PM
Copy Markdown text, switch to Marked, hit ⌘⇧V. Is that what you're
looking for?
There is also a URL handler for this.
http://marked2app.com/help/URL_Handler.html#paste
If you have a Service that just runs the shell command "open
x-marked://paste" it will perform the above actions for you. You can
also use "open x-marked://preview?text=escaped%20text" to send a full
string from a Service that takes a selection and runs it through a basic
encoding routine.
More info at http://brettterpstra.com/2015/05/29/marked-url-handler/
-Brett
2 Posted by Brad Brown on 04 Apr, 2016 11:38 PM
Awesome, thanks, that’s just what I’m looking for!
RTFM, right?
Have a great night!
b
Brad Brown | Managing Partner, Red Shift Inc.
[email blocked] 416-903-4057