extension ExtPose

Copy Markup Markdown

CRX id

kjolnndanembeldfjpchaipfopflpdph-

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

  • (2021-11-19) Viet Hoang Le: Perfect. This is what I'm looking for.
  • (2021-02-01) Игорь Гакотин: Works great!
  • (2020-07-03) dang quang minh: Can be better if it has some shortcut.
  • (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.

Latest issues

  • (2022-04-18, v:0.10.0) Vince Aggrippino: Markdown for Hidden Elements is Also Copied
    Markdown for hidden elements is also copied. One of the sites I like to use Copy Markup Markdown on is CodeWars. I like to keep the description and solution to *kata* that I work on in my own Git repo. Some of these kata have examples in the description for every programming language, but all examples have `display: none` except for the one matching the current programming language. Imagine my surprise when I selected *Copy Selection Markdown* and got a bazillion code blocks where i saw only one. I had to *View Source* on the page to figure out what's going on. e.g.: https://www.codewars.com/kata/554b4ac871d6813a03000035

Statistics

Installs
991 history
Category
Rating
4.6 (5 votes)
Last update / version
2019-02-24 / 0.10.0
Listing languages
en-US

Links