Skip to content

Manual type highlighting in a code block #193

@PoetaKodu

Description

@PoetaKodu

Default code highlighting is limited. Where possible we should add custom type hints to properly color a token.

Status

The problem

Example: Enemy token should be manually marked as a class name for better preview
Image

How it should be done:

// prism-push-types:Enemy
int main()
{
    Enemy boss;
}

Result preview:

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdifficulty: mediumA typical task that maybe a bit time consuming or just requires to use a bit advanced algorithm.enhancementNew feature or requestest. time: < 1 weekA loose time estimation of less than one week of work.

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions