Skip to content
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

Improve code blocks. #9

Open
3 of 4 tasks
sustained opened this issue Jun 27, 2019 · 0 comments
Open
3 of 4 tasks

Improve code blocks. #9

sustained opened this issue Jun 27, 2019 · 0 comments
Assignees
Labels
enhancement Improving/changing an existing feature. section: blog Relating to the blog section of the site. status: in-progress

Comments

@sustained
Copy link
Owner

sustained commented Jun 27, 2019

We can probably improve our code blocks.

Right now we just wrap in a pre and let hljs do its magic but we could maybe wrap it in a component allowing us to provide various niceties such as:

  • Allowing toggling of highlighting.
  • Selecting/copying to clipboard.
  • "Open in CodePen" or similar functionality.
  • Showing a nice header with the language name.
  • etc.
@sustained sustained added enhancement Improving/changing an existing feature. section: blog Relating to the blog section of the site. labels Jun 27, 2019
@sustained sustained self-assigned this Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving/changing an existing feature. section: blog Relating to the blog section of the site. status: in-progress
Projects
None yet
Development

No branches or pull requests

1 participant