Copy Markup Markdown

#4.6 / 5 rate

Copy Markup Markdown

1,000 users

2019-02-19

scootcho.yoo

Extension Information

5 star
50%
4 star
50%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

Copy seletion as Markup or Markdown

# Copy Markup Markdown

This extension is made for cool people who like to take notes in markdown format. Having to copy content from the web then manually converting them to markdown format is a huge pain. Especially for formatting for code blocks and inline code.

Select text / code blocks from a page then you can access the copy menu from either the browser extension button or the context menu from right clicking. The menu items will be dependent on if there were any selection on the page.

Menu without Selection
* Markdown Link `[Title](URL)` - copy page title with URL in Markdown link format.
* Page as HTML - copy entire page html, sanitized, eliminated classes, ids, javascripts with HTML structure intact.
* Page as Markdown - copy entire page in markdown format.

Menu with selection
Menu items without Selection, plus:
* Selection as HTML - copy selection as html, sanitized, with HTML structure.
* Selection as Markdown - copy selection as markdown.


===== SAMPLE COPY SELECTION AS MARKDOWN ======

An example of a closure
-----------------------

The following code returns a reference to a function:

```
function sayHello2(name) {
var text = 'Hello ' + name; // Local variable
var say = function() { console.log(text); }
return say;
}
var say2 = sayHello2('Bob');
say2(); // logs "Hello Bob"
```

===== SAMPLE COPY SELECTION AS HTML ======

An example of a closure


The following code returns a reference to a function:






function sayHello2(name) {
var text = 'Hello ' + name; // Local variable
var say = function() { console.log(text); }
return say;
}
var say2 = sayHello2('Bob');
say2(); // logs "Hello Bob"