question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Copy to Markdown' improvements

See original GitHub issue

Related to #486 and #487

  • Images with a width or height attribute set needs to be converted back to an <img> as Markdown images can’t have a width/height
  • Mentions should not be converted to links
  • Copying a rendered emoji (🔥🔥🔥) in Chrome on macOS results in: <g-emoji alias="fire" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f525.png" ios-version="6.0" title=":fire:">🔥</g-emoji><g-emoji alias="fire" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f525.png" ios-version="6.0" title=":fire:">🔥</g-emoji><g-emoji alias="fire" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f525.png" ios-version="6.0" title=":fire:">🔥</g-emoji> We should strip out all the junk and just copy the character.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
sindresorhuscommented, Jul 25, 2017

I’ve disabled this functionality temporarily now (will be published automatically in about 3 hours) until we can implement an alternative way to activate it. I agree now that it should not be the default copy behavior.

I’ve also been experiencing it making copy not work at all randomly. @bfred-it Seems like https://github.com/sindresorhus/refined-github/pull/636 didn’t totally fix it after all.

1reaction
domeniccommented, Jul 13, 2017

I was just searching through the issue tracker to try to find a way to disable this selectively, and was indeed thinking a keyboard shortcut would be the way to go.

My use case is copying commands from READMEs; if I Ctrl+C them now, I get backticks, which of course confuse my shell.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Need feedback on the release of a Markdown enhancement in ...
We're bringing you one of the fixes you requested.. There have been complaints that when you copy Markdown syntax and paste into the...
Read more >
Cut the tyranny of copy-and-paste with these coding tools
These researchers use computational notebook systems such as R Markdown, Jupyter Book and Observable to create 'executable manuscripts', ...
Read more >
Copy markdown from comments · Issue #486 - GitHub
Successfully merging a pull request may close this issue. Copy Markdown from Markdown containers jgierer12/refined-github. 3 participants.
Read more >
Copy code blocks in markdown with a single click - GitLab.org
Instead of selecting all the code within a block and using your keyboard to copy it to your clipboard, code blocks within markdown...
Read more >
v0.31: Paste rich text to markdown - Deepdwn by billiam - Itch.io
v0.31: Paste rich text to markdown ... When you paste HTML content into Deepdwn (copied from a webpage or online document editing tool),...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found