Skip to content

Improve style of inferred types vs. explicit types #17

Description

@scor

I like the fact that the linter also shows the inferred types. For example if I write:

typeof="schema:NewsArticle

The linter will show schema:Thing schema:CreativeWork schema:Article along with schema:NewsArticle. But if you have a lot of markup / entities, it can get confusing for the user to know which one of those types were explicitly set in the HTML and which were inferred.

Suggested approach: style the inferred types to be different, either in italic or in grey color.

Do properties also get their super-properties displayed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions