extension ExtPose

Copy Markup Markdown

Description from extension meta

Copy seletion as Markup or Markdown

Image from store Copy Markup Markdown
Description from store # 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 ====== <h2>An example of a closure</h2> <p>The following code returns a reference to a function:</p> <p></p> <div> <div> <pre><code> 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" </code></pre> </div> </div>

Latest reviews

  • (2019-11-25) Jessie Proffitt: Works great, would be perfect if I could pick one of the modes and map it to cmd+shift+c so I don't have to right click and find the copy mode.

Statistics

Installs
23
Category
Rating
4.0 (1 votes)
Last update / version
2019-02-24 / 0.10.0

Links