stdlib-js / stdlib-js/stdlib

[RFC]: Inject copy button during markdown to html conversion

Open
#6,600 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6k
Forks
1.3k
Avg merge
1d 3h
Merged PRs (30d)
611

Description

### Description

Add copy button in code blocks in docs.
https://github.com/stdlib-js/www/issues/75

### Related Issues

No

### Questions

No.

### Other

No.

### Checklist

- [x] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [x] Searched for existing issues and pull requests.
- [x] The issue name begins with `RFC:`.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue description and the related stdlib-js/www issue 75 to determine where markdown-to-HTML conversion for documentation occurs. Identify the relevant conversion entry point and existing code-block handling before defining the copy-button behavior. Done means code blocks in the docs render with a working copy button and the conversion behavior is covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.