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

feat: highlight code in new block of Sns aggregator and style #3300

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

peterpeterparker
Copy link
Member

Motivation

Follow-up of #3295.

This PR propose a code highlighter for the "block of code" displayed in the Sns aggregator index web page and style the new section.

It also adds a sentence to highlight the fact that the aggregator is meant for developers.

Library

Prismjs used to highlight the code is fetched from the Juno's CDN on the raw domain of the IC.

Screenshot

Capture d’écran 2023-09-12 à 07 06 01

@peterpeterparker peterpeterparker added the feature request New feature or request label Sep 12, 2023
Copy link
Contributor

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it! Thanks!

@peterpeterparker peterpeterparker added this pull request to the merge queue Sep 12, 2023
Merged via the queue into main with commit 49b9928 Sep 12, 2023
@peterpeterparker peterpeterparker deleted the feat/aggregatore-code-block branch September 12, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants