iamskok / gatsby-remark-code-buttons

Buttons for code snippets 🔘
https://gatsby-dev-blog-starter.netlify.com/blog/building-your-first-react-app
19 stars 9 forks source link

Keep proper format during code chunk copy #3

Closed Blackglade closed 5 years ago

Blackglade commented 5 years ago

I notice when copying code that line breaks are essentially removed and all the code that is copied is copied unto a single line. Would there be any way keep the proper format during the code chunk copy?

iamskok commented 5 years ago

@Blackglade would you be interested in submitting a PR?

Sent with GitHawk

Blackglade commented 5 years ago

Yes I would! I'll look into it when I get more time and submit a PR

iamskok commented 5 years ago

Sounds good! Feel free to reopen this issue