eecs485staff / primer-spec

A Jekyll theme for sites with content-heavy pages
https://eecs485staff.github.io/primer-spec/
MIT License
22 stars 12 forks source link

[Enhanced code blocks] Insert newline at the end of copied multi-line text #234

Closed seshrs closed 1 year ago

seshrs commented 1 year ago

Context

Closes #223. Thanks @awdeorio and @ohjuny, this was a great suggestion 😃

Validation

Visit the preview URL and try copying any of the multiline code blocks (including console blocks). A newline is appended to the copied text.

https://preview.sesh.rs/previews/eecs485staff/primer-spec/234/demo/enhanced-code-blocks.html

github-actions[bot] commented 1 year ago

The spec from this PR is available at https://preview.sesh.rs/previews/eecs485staff/primer-spec/234/.

(Available until Sun Jan 22 2023.)