Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
karanBRAVO opened this issue Apr 7, 2025 · 0 comments
Open
3 tasks done

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

karanBRAVO opened this issue Apr 7, 2025 · 0 comments

Comments

@karanBRAVO
Copy link
Contributor

Description

Add copy button in code blocks in docs.
stdlib-js/www#75

Related Issues

No

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.
karanBRAVO added a commit to karanBRAVO/stdlib that referenced this issue Apr 7, 2025
Adds a "Copy" button to all `<pre><code>` blocks in the generated HTML.
Ensures improved UX for users reading code examples.

Fixes: stdlib-js#6600
Private-ref: stdlib-js#6600

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: passed
  - task: lint_markdown
    status: na
  - task: lint_package_json
    status: na
  - task: lint_repl_help
    status: na
  - task: lint_javascript_src
    status: passed
  - task: lint_javascript_cli
    status: na
  - task: lint_javascript_examples
    status: na
  - task: lint_javascript_tests
    status: na
  - task: lint_javascript_benchmarks
    status: na
  - task: lint_python
    status: na
  - task: lint_r
    status: na
  - task: lint_c_src
    status: na
  - task: lint_c_examples
    status: na
  - task: lint_c_benchmarks
    status: na
  - task: lint_c_tests_fixtures
    status: na
  - task: lint_shell
    status: na
  - task: lint_typescript_declarations
    status: na
  - task: lint_typescript_tests
    status: na
  - task: lint_license_headers
    status: passed
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant