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

Editorial: fix highlighting van openyaml specificatie #159

Merged
merged 5 commits into from
Jan 22, 2025

Conversation

TimvdLippe
Copy link
Contributor

@TimvdLippe TimvdLippe commented Jan 20, 2025

Door expliciet yaml als language te specificeren moet
de higlighting nu wel goed gaan.

Fixes Geonovum/KP-APIs#632
Fixes Geonovum/KP-APIs#642
Fixes Geonovum/KP-APIs#643

Door expliciet yaml als language te specificeren moet
de higlighting nu wel goed gaan.

Fixes Geonovum/KP-APIs#643
Het moet zonder prefix `language-`, in tegenstelling tot
de documentatie op de highlightjs website.
DesignRules.md Outdated Show resolved Hide resolved
DesignRules.md Outdated Show resolved Hide resolved
DesignRules.md Outdated Show resolved Hide resolved
@TimvdLippe
Copy link
Contributor Author

@TimvdLippe TimvdLippe requested a review from sanderke January 21, 2025 09:16
@TimvdLippe
Copy link
Contributor Author

Zojuist ook gecheckt dat deze PR ook Geonovum/KP-APIs#642 oplost.

Dit zijn alle contrast issues op develop
image

Al deze zijn niet meer te zien op deze branch.

Let wel: hiervoor moet de browser in darkmode staan. Alle URLs hebben dan geen color highlighting, terwijl de yaml code snippet dat wel heeft:

image

Die zijn in strijd met /core/no-trailing-slash
Copy link
Member

@sanderke sanderke left a comment

Choose a reason for hiding this comment

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

De regel /core/no-trailing-slash slaat enkel op resources. Dit dient nog verduidelijkt te worden:

Verder niets mis met het verwijderen van de trailing slashes in deze voorbeelden, echter is er eentje blijven plakken:

url: https://api.test.example.org/v1/

@TimvdLippe TimvdLippe requested a review from sanderke January 22, 2025 11:58
@TimvdLippe TimvdLippe merged commit 1f69588 into develop Jan 22, 2025
5 checks passed
@TimvdLippe TimvdLippe deleted the pr-timvdlippe-yaml-highlighting branch January 22, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants