Skip to content

Allow sets of styles for pre-styled html #26

@xiaomi7732

Description

@xiaomi7732

Consider adding another parameter for posting /Html:

theme: light / dark

This will be useful when the client is in an environment, which:

  1. want to leverage the std/pre styles;
  2. theme aware.

For example, in VSCode extension, we could detect what the user is currently using, dark theme for example, and post:

/Html?preStyled=true&theme=dark

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions