api-platform / api-platform/docs-website

Syntax highlighting should not display attributes as comments

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
6
Forks
4
Avg merge
11h 41m
Merged PRs (30d)
1

Description

**Description**
Right now the attributes are displayed like comments:

**Example**

> Image

Source: https://api-platform.com/docs/core/dto/#the-entity

It would be nice to show attributes with a different style to ease reading, like Symfony doc do, by using one color for `#[Route()]` and different colors for the arguments:

> Image

Source: https://symfony.com/doc/current/routing.html#creating-routes-as-attributes

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.